message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fix names of Mynewt config options Also documents config option to use PKCS#1 v1.5 as images generated by newt.
@@ -90,14 +90,15 @@ This exports the keys. ## Building bootloader -Enable the MCUBOOT_SIGN_RSA syscfg setting in your app or target syscfg.yml -file +Enable the BOOTUTIL_SIGN_RSA and BOOTUTIL_RSA_PKCS1_15 syscfg settings in your +app or target syscfg.yml file syscfg.vals: - MCUBOOT_SIGN_RSA: 1 + BOOTUTIL_SIGN_RSA: 1 + ...
Take into account ACK for ACK during handshake
@@ -929,7 +929,7 @@ static ssize_t conn_encode_unprotected_ack_if_any(ngtcp2_conn *conn, ngtcp2_pkt_hd hd; ngtcp2_frame fr; - if (ngtcp2_acktr_get(&conn->acktr) == NULL) { + if (conn->acktr.nactive_ack == 0 || ngtcp2_acktr_get(&conn->acktr) == NULL) { return 0; }
publish: sanitise markdown snippets in preview Runs the snippet through ReactMarkdown instead of rendering it as text. We restrict the allowed nodes in the render to pure text, so the snippet is not overly visually heavy.
@@ -71,7 +71,10 @@ export class NotebookPosts extends Component { </div> <p className="mb1" style={{overflowWrap: "break-word"}}> - {note.snippet} + <ReactMarkdown + unwrapDisallowed + allowedTypes={['text', 'root', 'break', 'paragraph']} + source={note.snippet} /> </p> <div className="flex"> <div className={(contact.n...
README: support to run rune with pouch through annotations Fixes:
@@ -160,7 +160,7 @@ Add the assocated configurations in pouchd config file, e.g, `/etc/pouch/config. where: - @path: specify the path of OCI Runtime, such as the pach of `rune`. -- @runtimeArgs: specify the runtimeArgs of the pouchd runtime, such as `--platform`, `--network`. +- @runtimeArgs: specify the arguments of t...
Update codeql script
@@ -28,7 +28,6 @@ jobs: - run: | sudo apt-get install -y libssl-dev ./ci/build_picotls.sh - ./ci/build_picoquic.sh mkdir build cd build cmake ..
crypto/x86_64cpuid.pl: move extended feature detection upwards. Exteneded feature flags were not pulled on AMD processors, as result a number of extensions were effectively masked on Ryzen. It should have been reported for Excavator since it implements AVX2 extension, but apparently nobody noticed or cared...
@@ -72,6 +72,16 @@ OPENSSL_ia32_cpuid: cpuid mov %eax,%r11d # max value for standard query level + cmp \$7,%eax + jb .Lno_extended_info + + mov \$7,%eax + xor %ecx,%ecx + cpuid + mov %ebx,8(%rdi) + +.Lno_extended_info: + xor %eax,%eax cmp \$0x756e6547,%ebx # "Genu" setne %al @@ -136,14 +146,6 @@ OPENSSL_ia32_cpuid: shr...
fix mi_likely branch that was marked as unlikely
@@ -180,7 +180,7 @@ void _mi_page_free_collect(mi_page_t* page, bool force) { // and the local free list if (page->local_free != NULL) { - if (mi_unlikely(page->free == NULL)) { + if (mi_likely(page->free == NULL)) { // usual case page->free = page->local_free; page->local_free = NULL;
doc CHANGE minor updates
@@ -935,8 +935,6 @@ int sr_edit_batch(sr_session_ctx_t *session, const struct lyd_node *edit, const * * Provides only YANG validation, apply-changes **subscribers will not be notified** in this case. * - * @see Use ::sr_get_error to retrieve error information if the operation returned an error. - * * @param[in] session...
Added exitsnoop to README (code review)
@@ -105,6 +105,7 @@ pair of .c and .py files, and some are directories of files. - tools/[deadlock](tools/deadlock.py): Detect potential deadlocks on a running process. [Examples](tools/deadlock_example.txt). - tools/[drsnoop](tools/drsnoop.py): Trace direct reclaim events with PID and latency. [Examples](tools/drsnoop...
Default errhand agnostic to t.math.globals;
@@ -271,7 +271,7 @@ function lovr.errhand(message, traceback) if lovr.graphics.hasWindow() then lovr.graphics.setViewPose(1) local width, height = lovr.graphics.getDimensions() - local projection = mat4():perspective(.1, 100, math.rad(67), width / height) + local projection = lovr.math.mat4():perspective(.1, 100, math....
docs: remove feature merged into i3
@@ -111,20 +111,3 @@ bar { ### Borders You can define a border width of each block for each individual side by sending the `border_top`, `border_left`, `border_bottom` and `border_right` keys in the i3bar JSON protocol. Each value, if absent, defaults to `1`, and a value of `0` hides the border for the specified side. ...
BugID:18313873: Strip --cpu Cortex-Mx for iar project
@@ -174,7 +174,9 @@ def gen_project(target, script, buildstring): if group['as_opts_iar']: filename = os.path.join(project_opts_path, "%s.as_opts" % group['name']) - create_file(group['as_opts_iar'], filename) + # strip '--cpu xxx' from as_opts_iar which causes IAR IDE build failed + as_opts_tmp = re.sub(r'^\s*Cortex-M...
Return ASAP when lua error is string This is a harmless optimization/bug. When the top of the lua stack is a string, we should not continue to use lua_getfield to get the table fields.
@@ -1553,6 +1553,7 @@ void luaExtractErrorInformation(lua_State *lua, errorInfo *err_info) { err_info->line = NULL; err_info->source = NULL; err_info->ignore_err_stats_update = 0; + return; } lua_getfield(lua, -1, "err");
Fixed ending comment block.
@@ -93,3 +93,5 @@ bool kprv_subscriber_read(const pubsub_conn * conn, void * buffer, int buffer_si bool kprv_send_csp(const pubsub_conn * conn, const void * data, uint16_t length); #endif + +/* @} */ \ No newline at end of file
perf-tools/tau: bump to v2.27.1
Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 2.27 +Version: 2.27.1 Release: 1%{?dist} Summary: Tuning and Analysis Utilities Profiling Package License: Tuning and Analysis Utilities License
Update latest version for openssl-1.1.0
@@ -30,7 +30,7 @@ curl -LO https://www.openssl.org/source/openssl-1.1.0-latest.tar.gz tar -xzvf openssl-1.1.0-latest.tar.gz # Build openssl libcrypto (NOTE: check directory name 1.1.0-latest unpacked as) -cd openssl-1.1.0a +cd openssl-1.1.0e ./config -fPIC no-shared \ no-md2 no-rc5 no-rfc3779 no-sctp no-ssl-trace no-zl...
Renamed correctly a ruby test case from python test.
@@ -17,7 +17,7 @@ class py_port_test(unittest.TestCase): self.assertEqual(metacall.metacall('multiply', 5, 7), 35) # MetaCall (Ruby) - def test_python(self): + def test_ruby(self): self.assertEqual(metacall.metacall('say_null'), None) #self.assertEqual(metacall.metacall('say_multiply', 3, 4), 12)
BugID:18943870: Fix CLI issues.
@@ -108,7 +108,7 @@ static void app_delayed_action(void *arg) blemesh_tmall_profile(); } -#ifdef CONFIG_AOS_CLI +#ifdef AOS_COMP_CLI static void handle_set_mac(char *pwbuf, int blen, int argc, char **argv); static struct cli_command tmall_cmds[] = { @@ -165,7 +165,7 @@ int application_start(int argc, char **argv) print...
stm32/powerctrl: Add hooks for a board to perform actions on sleep/wake.
@@ -324,6 +324,10 @@ void powerctrl_enter_stop_mode(void) { // executed until after the clocks are reconfigured uint32_t irq_state = disable_irq(); + #if defined(MICROPY_BOARD_ENTER_STOP) + MICROPY_BOARD_ENTER_STOP + #endif + #if defined(STM32L4) // Configure the MSI as the clock source after waking up __HAL_RCC_WAKEUP...
lit also needs not and yaml-bench but these are also skipped on install, so they are manually copied from build bin to install bin
@@ -195,6 +195,8 @@ if [ "$1" == "install" ] ; then $SUDO cp -p $BUILD_DIR/build/$AOMP_LLVM_REPO_NAME/bin/llvm-lit $AOMP/bin/llvm-lit $SUDO cp -p $BUILD_DIR/build/$AOMP_LLVM_REPO_NAME/bin/FileCheck $AOMP/bin/FileCheck $SUDO cp -p $BUILD_DIR/build/$AOMP_LLVM_REPO_NAME/bin/count $AOMP/bin/count + $SUDO cp -p $BUILD_DIR/b...
YAMBi: Restructure grammar file
* @copyright BSD License (see LICENSE.md or https://www.libelektra.org) */ +/* -- Declarations ---------------------------------------------------------------------------------------------------------------------- */ + %skeleton "lalr1.cc" + %defines %define @PARSER_NAME_DIRECTIVE@ { Parser } %define api.token.construc...
Use gcc Hardfault_Handler for armclang
@@ -79,7 +79,7 @@ void HardFault_Handler() #else // gcc and armclang void HardFault_Handler() { - asm volatile ( + __ASM volatile ( " mov r0, lr \n\t" " bl _fault_handler \n\t" );
change log outputs
@@ -2115,12 +2115,15 @@ bool CBlock::ConnectBlock(CTxDB& txdb, CBlockIndex* pindex, bool fJustCheck) BOOST_FOREACH(CMasterNode& mn, vecMasternodes) { pubScript = GetScriptForDestination(mn.pubkey.GetID()); + CTxDestination address1; + ExtractDestination(pubScript, address1); + CBitcoinAddress address2(address1); if (vt...
in_disk: replace msgpack_pack_bin with str
@@ -168,12 +168,12 @@ static int in_disk_collect(struct flb_input_instance *i_ins, msgpack_pack_map(&i_ins->mp_pck, num_map); - msgpack_pack_bin(&i_ins->mp_pck, strlen(STR_KEY_READ)); - msgpack_pack_bin_body(&i_ins->mp_pck, STR_KEY_READ, strlen(STR_KEY_READ)); + msgpack_pack_str(&i_ins->mp_pck, strlen(STR_KEY_READ)); +...
Update MAINTAINERS.md fix typo
@@ -122,7 +122,7 @@ git push origin <tagname> ## Releases -- [ ] Create a pull request from the relevant release branch (with the format `release/urbit-os-vX.XX` to `master`. +- [ ] Create a pull request from the relevant release branch (with the format `release/urbit-os-vX.XX`) to `master`. - [ ] ssh into `~zod` - [ ]...
Explicitly set c99 in CMake See
@@ -22,6 +22,9 @@ MESSAGE("Detected version: ${VERSION}") PROJECT(hiredis VERSION "${VERSION}") +# Hiredis requires C99 +SET(CMAKE_C_STANDARD 99) + SET(ENABLE_EXAMPLES OFF CACHE BOOL "Enable building hiredis examples") SET(hiredis_sources
kernel/os: Fix redundant checks in os_mempool_init Unsigned arguments cannot be <0...
@@ -125,7 +125,7 @@ os_mempool_init_internal(struct os_mempool *mp, uint16_t blocks, struct os_memblock *block_ptr; /* Check for valid parameters */ - if (!mp || (blocks < 0) || (block_size <= 0)) { + if (!mp || (block_size == 0)) { return OS_INVALID_PARM; }
Clarify handshake timeout
@@ -312,7 +312,8 @@ struct st_quicly_context_t { */ uint16_t ack_frequency; /** - * if the handshake does not complete within this value * RTT, close connection + * If the handshake does not complete within this value * RTT, close connection. + * When RTT is not observed, timeout is calculated relative to initial RTT (...
Fix install.fish install.fish script didn't catch error exit code from idf_tools.py. Now it does. Closes:
@@ -14,8 +14,7 @@ else end echo "Installing ESP-IDF tools" "$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install --targets=$TARGETS - exit 1 -end +or exit 1 echo "Installing Python environment and packages" "$ESP_PYTHON" "$IDF_PATH"/tools/idf_tools.py install-python-env
VMS build: drop a spurious debug print
@@ -1041,8 +1041,6 @@ EOF my $incextra = join(',', map { "\"$_\"" } @{$unified_info{includes_extra}->{$obj}}); $incextra = "/INCLUDE=($incextra)" if $incextra; - print STDERR "DEBUG: Looking for extra include directories for $obj, found this: $incextra\n" - if $incextra; my $cflags; if ($args{attrs}->{noinst}) {
Update the date on the splash screen.
// Eric Brugger, Wed Nov 6 15:02:49 PST 2019 // Changed the date on the splash screen to November 2019. // +// Eric Brugger, Thu Dec 5 12:17:36 PST 2019 +// Changed the date on the splash screen to December 2019. +// // **************************************************************************** SplashScreen::SplashScr...
SOVERSION bump to versopn 2.20.11
@@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 20) -set(LIBYANG_MICRO_SOVERSION 10) +set(LIBYANG_MICRO_SOVERSION 11) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG...
cmdline: exclude -s and -P
@@ -526,6 +526,11 @@ bool cmdlineParse(int argc, char *argv[], honggfuzz_t * hfuzz) return false; } + if (hfuzz->fuzzStdin && hfuzz->persistent) { + LOG_E("Stdin fuzzing (-s) and persistent fuzzing (-P) cannot be specified at the same time"); + return false; + } + if (hfuzz->threadsMax >= _HF_THREAD_MAX) { LOG_E("Too m...
Fix disabling token menu
@@ -818,25 +818,23 @@ INT_PTR CALLBACK PhpTokenPageProc( // Put a radio check on the menu item that corresponds with the current integrity level. // Also disable menu items which correspond to higher integrity levels since // NtSetInformationToken doesn't allow integrity levels to be raised. - if (NT_SUCCESS(tokenPageC...
docs - removing gpbackup limitation for multi-level partitioned tables
inherited from the new parent table. In this case, <codeph>gpbackup</codeph> backs up conflicting <codeph>CREATE INDEX</codeph> statements, which causes an error when you restore the backup set.</li> - <li>You can back up and restore single level partitioned tables that have been altered by - exchanging a leaf child pa...
Fix: Change the paths from windows to unix
<property key="enable-unroll-loops" value="false"/> <property key="exclude-floating-point" value="false"/> <property key="extra-include-directories" - value="..\..\..\..\..\vendors\microchip\harmony\v2.05\framework;..\..\..\..\..\vendors\microchip\boards\curiosity_pic32mzef\bootloader\common\microchip_code;..\..\..\..\...
test: fix typo in a comment
@@ -592,7 +592,7 @@ size_t quicly_decode_packet(quicly_context_t *ctx, quicly_decoded_packet_t *pack packet->token = ptls_iovec_init(NULL, 0); packet->decrypted.pn = UINT64_MAX; - /* move the cursor to the sencond byte */ + /* move the cursor to the second byte */ src += *off + 1; if (QUICLY_PACKET_IS_LONG_HEADER(packe...
easier to read relnotes description.
@@ -6,8 +6,7 @@ FEATURES: - xfr-inspect, it is not installed, it prints xfr files from /tmp made with 'make xfr-inspect' in the source dir. - retry timeout between sending notifies dropped from 15 to 3 sec. - - NSD sends up to 16 notifies simultaneously for up to 64 zones, - to increase rate of notification for large m...
VERSION bump to version 1.4.24
@@ -31,7 +31,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 4) -set(SYSREPO_MICRO_VERSION 23) +set(SYSREPO_MICRO_VERSION 24) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
referencing fully qualified chipyard.harness.OverrideHarnessBinder to debug import issue.
@@ -30,7 +30,7 @@ import scala.reflect.{ClassTag} import sifive.fpgashells.ip.xilinx.{IBUFG, IOBUF, PULLUP, PowerOnResetFPGAOnly} -class WithArtyJTAGHarnessBinder extends OverrideHarnessBinder({ +class WithArtyJTAGHarnessBinder extends chipyard.harness.OverrideHarnessBinder({ (system: HasPeripheryDebugModuleImp, th: Ar...
More work on jpm Switch to rea dependency graph for a rake-like tool. This model is more powerful for writing build scripts.
#!/usr/bin/env janet -# Cook CLI tool for building janet projects. +# CLI tool for building janet projects. Wraps cook. (import cook :prefix "") -(defn- load +(dofile "./project.janet" :env (fiber/getenv (fiber/current))) + +(def- argpeg + (peg/compile + '(* "--" '(some (if-not "=" 1)) "=" '(any 1)))) + +(defn- help []...
Update pkeyutl documentation about the digest option DSA can accept other digests other than SHA1. EC ignores the digest option altogether. Fixes
@@ -296,20 +296,19 @@ value less than the minimum restriction. =head1 DSA ALGORITHM The DSA algorithm supports signing and verification operations only. Currently -there are no additional options other than B<digest>. Only the SHA1 -digest can be used and this digest is assumed by default. +there are no additional B<-p...
Remove RMSEWithUncertainty comment
@@ -2335,10 +2335,7 @@ def test_generated_regression_metrics_with_default_params(): { 'MAE': metrics.MAE(), 'MAPE': metrics.MAPE(), 'Poisson': metrics.Poisson(), # Metric description should be 'Quantile' instead of 'Quantile:alpha=0.5' - 'Quantile:alpha=0.5': metrics.Quantile(), - 'RMSE': metrics.RMSE(), - # BUG - see ...
Reduce fallback tileset size to 12.
@@ -44,7 +44,7 @@ namespace tileset { * * Used when one is needed, but was not provided by the user. */ -auto new_fallback_tileset(const std::array<int, 2>& tile_size = {12, 16}) +auto new_fallback_tileset(const std::array<int, 2>& tile_size = {0, 12}) -> std::unique_ptr<Tileset>; } // namespace tileset } // namespace ...
fix maybe-uninit bug
@@ -590,6 +590,9 @@ static bool parseAndAddMountpoint (KeySet * mountpoints, KeySet * modules, KeySe ksRename (plugins, lookupHelper, pluginsRoot); keyDel (pluginsRoot); + // declare early because of goto error + KeySet * definition = NULL; + // find backend plugin Key * backendPluginKey = ksLookupByName (plugins, "sys...
api/electrum: warn about xpub in the docs
@@ -23,8 +23,10 @@ const HARDENED: u32 = 0x80000000; const ELECTRUM_WALLET_ENCRYPTION_KEYPATH_LEVEL_ONE: u32 = 4541509 + HARDENED; const ELECTRUM_WALLET_ENCRYPTION_KEYPATH_LEVEL_TWO: u32 = 1112098098 + HARDENED; -/// Returns the electrum wallet encryption xpub.. +/// Returns the electrum wallet encryption xpub. /// `ke...
fix catboost oss build
@@ -9,6 +9,7 @@ PYTHON_ADDINCL() # add only headers for dynamic linking ADDINCL( contrib/python/numpy/numpy/core/include + contrib/python/numpy/numpy/core/include/numpy contrib/python/numpy/numpy/core/src/common contrib/python/numpy/numpy/core/src/npymath )
phy: removed unit test cases for some functions against cache disabled condition on ESP32-C3 function bt_bb_v2_init_cmplx and coex_pti_v2 are only used during bluetooth Controller initialization and do not require IRAM attribute
@@ -97,20 +97,6 @@ static IRAM_ATTR void test_phy_rtc_cache_task(void *arg) spi_flash_enable_interrupts_caches_and_other_cpu(); #endif //CONFIG_IDF_TARGET_ESP32 -#if CONFIG_IDF_TARGET_ESP32C3 - extern void bt_bb_v2_init_cmplx(int print_version); - ESP_LOGI(TAG, "Test bt_bb_v2_init_cmplx()..."); - spi_flash_disable_inte...
scarlet: Add min/max frequencies for sensors As part of new interface MOTIONSENSE_CMD_INFO, we need to provide sensors min and max frequency. BRANCH=none TEST=compile
@@ -456,6 +456,8 @@ struct motion_sensor_t motion_sensors[] = { .addr = BMI160_SET_SPI_ADDRESS(CONFIG_SPI_ACCEL_PORT), .rot_standard_ref = &base_standard_ref, .default_range = 2, /* g, enough for laptop. */ + .min_frequency = BMI160_ACCEL_MIN_FREQ, + .max_frequency = BMI160_ACCEL_MAX_FREQ, .config = { /* AP: by default...
ci/mqtt: Make publish test-app message properties configurable Also increase the default sizes and repeat-counts to send more data and exercise the library more intensly
@@ -10,6 +10,7 @@ import string import subprocess import sys import time +from itertools import count from threading import Event, Lock, Thread import paho.mqtt.client as mqtt @@ -383,16 +384,31 @@ def test_app_protocol_mqtt_publish_connect(env, extra_data): with MqttPublisher(dut1, transport, qos, repeat, published, q...
Fix invalid array access in trgm_regexp.c. Brown-paper-bag bug in I missed one place that needed to guard against RAINBOW arc colors. Remarkably, nothing noticed the invalid array access except buildfarm member thorntail. Thanks to Noah Misch for assistance with tracking this down.
@@ -1220,7 +1220,7 @@ addArcs(TrgmNFA *trgmNFA, TrgmState *state) for (i = 0; i < arcsCount; i++) { regex_arc_t *arc = &arcs[i]; - TrgmColorInfo *colorInfo = &trgmNFA->colorInfo[arc->co]; + TrgmColorInfo *colorInfo; /* * Ignore non-expandable colors; addKey already handled the case. @@ -1228,8 +1228,14 @@ addArcs(TrgmN...
in_windows_exporter_metrics: perflib: Avoid to use wcstombs wcstombs seems to be calling lots of internal APIs. Using WideCharToMultiByte should reduce resource usages.
@@ -754,18 +754,13 @@ static int we_perflib_process_instance(struct we_perflib_context *context, perf_instance_definition = (PERF_INSTANCE_DEFINITION *) input_data_block; if (perf_instance_definition->NameLength > 0) { - perflib_instance->name = (char *) flb_calloc(1, - (perf_instance_definition->NameLength / 2) + 2); ...
Fix settings dummy data
@@ -141,6 +141,8 @@ export const dummyProjectData: ProjectData = { defaultSpritePaletteId: "", defaultUIPaletteId: "", customHead: "", + navigatorSplitSizes: [300, 100, 100], + showNavigator: true, }, };
cmdline: recycle 'o' as it'll be used for --output soon
@@ -441,7 +441,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) { { { "exit_upon_crash", no_argument, NULL, 0x107 }, "Exit upon seeing the first crash (default: false)" }, { { "socket_fuzzer", no_argument, NULL, 0x10B }, "Instrument external fuzzer via socket" }, { { "netdriver", no_argument, NULL, 0x...
Improve consistency when handling chunks of wrong size
@@ -5286,11 +5286,12 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length, break; case SCTP_SHUTDOWN_ACK: SCTPDBG(SCTP_DEBUG_INPUT3, "SCTP_SHUTDOWN_ACK, stcb %p\n", (void *)stcb); - if ((stcb != NULL) && (netp != NULL) && (*netp != NULL)) { + if ((chk_length == sizeof(struct sctp_shutdown_ack_chu...
phonon: Fix crash when setGeometry fails; The call to `free` above was fixed, but the one in the error case was not.
@@ -360,7 +360,7 @@ bool phonon_setGeometry(float* vertices, uint32_t* indices, uint32_t vertexCount return true; fail: - free(materials); + free(triangleMaterials); if (state.mesh) phonon_iplDestroyStaticMesh(&state.mesh); if (state.scene) phonon_iplDestroyScene(&state.scene); if (state.environment) phonon_iplDestroyE...
Remove unused shader properties;
@@ -59,10 +59,6 @@ typedef struct { uint32_t program; map_uniform_t uniforms; map_int_t attributes; - float model[16]; - float view[16]; - float projection[16]; - Color color; } Shader; Shader* lovrShaderCreate(const char* vertexSource, const char* fragmentSource);
test(ethereum): Fix error test case When prikey_genMode is BOAT_WALLET_PRIKEY_GENMODE_INTERNAL_GENERATION, prikey_format is useless.
@@ -533,7 +533,7 @@ START_TEST(test_002InitWallet_0015InitEthWalletWithWrongKeyFormat) rtnVal = BoatEthWalletInit(&walletConfig, sizeof(BoatEthWalletConfig)); /* 2. verify test result */ /* 2-1. verify the return value */ - ck_assert_ptr_null(rtnVal); + ck_assert_ptr_nonnull(rtnVal); /* 2-2. verify the global variables...
Configure log priority early The log priority must be configured before parsing command-line arguments, in order to get logs as expected.
@@ -37,6 +37,11 @@ main(int argc, char *argv[]) { setbuf(stdout, NULL); setbuf(stderr, NULL); #endif + +#ifndef NDEBUG + SDL_LogSetAllPriority(SDL_LOG_PRIORITY_DEBUG); +#endif + struct scrcpy_cli_args args = { .opts = SCRCPY_OPTIONS_DEFAULT, .help = false, @@ -67,10 +72,6 @@ main(int argc, char *argv[]) { return 1; } -...
duplicate component, sorry for the messy commit
@@ -27,7 +27,6 @@ export function LinkDetail(props: LinkDetailProps) { return ( /* @ts-ignore indio props?? */ <Row height="100%" width="100%" flexDirection={['column', 'column', 'row']} {...rest}> - <LinkBlockItem minWidth="0" minHeight="0" height={['50%', '50%', '100%']} width={['100%', '100%', 'calc(100% - 350px)']}...
restores daemon-mode boot callback
@@ -1790,6 +1790,18 @@ u3_http_ef_form(u3_noun fig) u3_Host.fig_u.for_u = for_u; _http_serv_restart(); + + // The control server has now started. + // + // If we're in daemon mode, we need to inform the parent process + // that we've finished booting. + // + // XX using this effect is a terrible heuristic; + // "fully ...
vere: adjust forwarding printf frequency Also removes stale comments.
@@ -84,8 +84,6 @@ typedef struct _u3_panc u3_panc; u3_body bod_u; // body }; -//TODO keep linked list in u3_ames for garbage collection, cancelling on-exit - /* _ames_alloc(): libuv buffer allocator. */ static void @@ -608,7 +606,7 @@ _ames_put_packet(u3_ames* sam_u, u3_noun lan) { u3_noun wir = u3nc(c3__ames, u3_nul);...
also mention the mod_token_binding dependency
@@ -40,7 +40,7 @@ of claims provided in the `id_token`/ `userinfo` claims. - [OpenID Connect Session Management 1.0](http://openid.net/specs/openid-connect-session-1_0.html) *(implementers draft; see the [Wiki](https://github.com/zmartzone/mod_auth_openidc/wiki/Session-Management) for information on how to configure it...
drv/bluetooth_stm32_bluenrg: fix compile error Fixes
@@ -514,13 +514,13 @@ static void handle_event(hci_event_pckt *event) { pybricks_on_rx(subevt->att_data, subevt->data_length); } } else if (subevt->attr_handle == pybricks_char_handle + 2) { - pybricks_notify_en = *(uint16_t *)subevt->att_data; + pybricks_notify_en = subevt->att_data[0]; } else if (subevt->attr_handle ...
pg_xlogdump: Remove extra newline in error message fatal_error() already prints out a trailing newline.
@@ -744,7 +744,7 @@ main(int argc, char **argv) } if (errormsg) - fatal_error("error in WAL record at %X/%X: %s\n", + fatal_error("error in WAL record at %X/%X: %s", (uint32) (xlogreader_state->ReadRecPtr >> 32), (uint32) xlogreader_state->ReadRecPtr, errormsg);
Call One time tu_fifo_write_n on cdcd_xfer_cb
@@ -432,17 +432,17 @@ bool cdcd_xfer_cb(uint8_t rhport, uint8_t ep_addr, xfer_result_t result, uint32_ // Received new data if ( ep_addr == p_cdc->ep_out ) { - // TODO search for wanted char first for better performance - for(uint32_t i=0; i<xferred_bytes; i++) - { - tu_fifo_write(&p_cdc->rx_ff, &p_cdc->epout_buf[i]); ...
Move some macros
@@ -182,6 +182,7 @@ typedef struct bitfield_handle_s { memcpy(dst, fd.byte_addr, fd.bytewidth); \ } + /******************************************************************************* Interface *******************************************************************************/ @@ -223,5 +224,14 @@ typedef struct bitfield_h...
Memory cleanup
@@ -258,6 +258,7 @@ TEST(Kalman, ExampleExtended) { memcpy(_true_state, _next_state, sizeof(_true_state)); } + survive_kalman_state_free(&position); return 0; } @@ -309,5 +310,6 @@ TEST(Kalman, AngleQuat) { rot_predict_quat(.1, 0, &true_state, &true_state); } + survive_kalman_state_free(&rotation); return 0; }
extensions: fail build if gpcloud doesn't compile/install The recipe didn't properly chain the $(MAKE) invocations; any failures when building or installing gpcloud were ignored.
@@ -32,7 +32,7 @@ mapreduce: gpcloud: @if [ "$(enable_gpcloud)" = "yes" ]; then \ echo "gpcloud enabled"; \ - $(MAKE) -C gpcloud; \ + $(MAKE) -C gpcloud && \ $(MAKE) -C gpcloud/bin/gpcheckcloud; \ fi @@ -47,7 +47,7 @@ install: $(MAKE) -C gpmapreduce install; \ fi @if [ "$(enable_gpcloud)" = "yes" ]; then \ - $(MAKE) -C...
Removed unused variables and fixed compiler warnings
@@ -29,7 +29,7 @@ struct Cpus{ int freq; }; -size_t numCpuCores = std::thread::hardware_concurrency(); +int numCpuCores = std::thread::hardware_concurrency(); size_t arraySize = numCpuCores + 1; std::vector<Cpus> cpuArray; pthread_t cpuThread, gpuThread, cpuInfoThread, nvidiaSmiThread;
Add AMD Renoir models and preliminary support for ZEN3 as ZEN2 also remap erroneous family 16 entry to BOBCAT and reclaim erroneous family 25 "Barcelona" for Zen3
@@ -1454,10 +1454,11 @@ int get_cpuname(void){ return CPUTYPE_OPTERON; case 1: case 3: - case 7: - case 10: +// case 7: +// case 10: return CPUTYPE_BARCELONA; case 5: + case 7: return CPUTYPE_BOBCAT; case 6: switch (model) { @@ -1507,6 +1508,8 @@ int get_cpuname(void){ // AMD Ryzen case 8: // AMD Ryzen2 + default: + //...
fix push locks in alpc path
@@ -77,7 +77,7 @@ NTSTATUS KphpReferenceAlpcCommunicationPorts( typeMismatch = FALSE; - ExAcquirePushLockShared(handleTableLock); + FltAcquirePushLockShared(handleTableLock); if (KphDynAlpcConnectionPort != ULONG_MAX) { @@ -130,7 +130,7 @@ NTSTATUS KphpReferenceAlpcCommunicationPorts( } } - ExReleasePushLockShared(hand...
Add a puffsfmt doc comment.
// Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file. +// puffsfmt formats Puffs programs. +// +// Without explicit paths, it rewrites the standard input to standard output. +// Otherwise, the -l or -w or both flags must be given. Given a file path, it +// operates on t...
SOVERSION bump to version 5.5.13
@@ -45,7 +45,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 5) -set(SYSREPO_MICRO_SOVERSION 12) +set(SYSREPO_MICRO_S...
Update ya-binAuthor: nslusRevision: r3809663Task ID:
@@ -4,8 +4,8 @@ import sys import platform import json -URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/233854/dc36a741d0d9fac105e72c80d39b7399"] -MD5 = "dc36a741d0d9fac105e72c80d39b7399" +URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/250854/6702749c9591550601b24123a7c4085a"] +MD5 = "6...
gftp-gtk.c: CreateConnectToolbar: avoid GtkHandleBox in GKT3 GtkHandleBox was deprecated in GTK 3.4, and it seems it got broken at some point.. it doesn't work on macOS. merges and closes
@@ -733,12 +733,16 @@ CreateConnectToolbar (GtkWidget * parent) char *default_protocol, *tempstr; int i, j, num; - toolbar = gtk_handle_box_new (); - box = gtk_hbox_new (FALSE, 4); - gtk_container_add (GTK_CONTAINER (toolbar), box); gtk_container_set_border_width (GTK_CONTAINER (box), 5); +#if GTK_MAJOR_VERSION == 2 + ...
Added test for empty array in serializer.
@@ -126,6 +126,8 @@ TEST_F(serial_test, DefaultConstructor) static const char json_string[] = "\"Hello World\""; static const char json_string_value[] = "Hello World"; + static const char json_empty_array[] = "[]"; + size_t serialize_size = 0; serial s = serial_create(rapid_json_name()); @@ -179,6 +181,22 @@ TEST_F(ser...
adapt targets.json to D16 move
"name": "brushless.frsky", "defines": { "BRUSHLESS_TARGET": "", - "RX_FRSKY": "" + "RX_FRSKY_D8": "" } }, { "name": "brushed.frsky", "defines": { "BRUSHED_TARGET": "", - "RX_FRSKY": "" + "RX_FRSKY_D8": "" } }, { "name": "dshot300.frsky", "defines": { "BRUSHLESS_TARGET": "", - "RX_FRSKY": "", + "RX_FRSKY_D8": "", "DSHOT...
SW: Allow use of c99 style C code
@@ -85,7 +85,7 @@ VERSION:=$(VERSION)-$(GIT_BRANCH) endif CFLAGS ?= -W -Wall -Werror -Wwrite-strings -Wextra -O2 -g \ - -Wmissing-prototypes # -Wstrict-prototypes -Warray-bounds + -Wmissing-prototypes -std=c99 # -Wstrict-prototypes -Warray-bounds CFLAGS += -DGIT_VERSION=\"$(VERSION)\" \ -I. -I../include -D_GNU_SOURCE=1...
[rtdbg] Add ulog compatible with rtdbg.
* #define DBG_LEVEL DBG_INFO * #include <rtdbg.h> // must after of DEBUG_ENABLE or some other options * - * Then in your C/C++ file, you can use dbg_log macro to print out logs: - * dbg_log(DBG_INFO, "this is a log!\n"); - * - * Or if you want to using the simple API, you can + * Then in your C/C++ file, you can use LO...
fib: Incorrect logic for IPv6 link-local attached export. Type: fix IPv6 link-local FIB entries are never needed for attached export.
@@ -1508,7 +1508,7 @@ fib_route_attached_cross_table (const fib_entry_t *fib_entry, /* Ignore link local addresses these also can't be imported/exported */ if (ip6_address_is_link_local_unicast (&pfx->fp_addr.ip6)) { - return (!0); + return (0); } break; case FIB_PROTOCOL_IP4:
change nokogiri gem dependency to 1.9.3 and 2.x ruby support version
@@ -35,7 +35,7 @@ Gem::Specification.new do |s| s.add_dependency('ffi', '1.9.14') s.add_dependency('rdoc', '4.2.2') s.add_dependency('deep_merge','1.1.1') - s.add_dependency('nokogiri', '1.8.0') + s.add_dependency('nokogiri', '1.6.8') s.post_install_message = "Thanks for installing Rhodes ! Please visit our website: ht...
list: fix bug
@@ -717,7 +717,12 @@ int elektraListMountPlugin (Plugin * handle, const char * pluginName, KeySet * p Key * configBase = keyNew ("user/plugins", KEY_END); KeySet * array = elektraArrayGet (configBase, config); Key * pluginItem = elektraArrayGetNextKey (array); - ELEKTRA_NOT_NULL (pluginItem); + + if (pluginItem == NULL...
[contract] fix an excessive CPU overhead by contract test
@@ -82,7 +82,7 @@ func LoadDummyChain(opts ...func(d *DummyChain)) (*DummyChain, error) { bc.testReceiptDB = db.NewDB(db.BadgerImpl, path.Join(dataPath, "receiptDB")) loadTestDatabase(dataPath) // sql database SetStateSQLMaxDBSize(1024) - StartLStateFactory(lStateMaxSize, config.GetDefaultNumLStateClosers(), config.Get...
Fix non-increasing x component in test
@@ -55,6 +55,7 @@ sub_spline_equal_knots(CuTest *tc) { ___SETUP___ tsBSpline spline = ts_bspline_init(); + tsStatus stat; ___GIVEN___ C(ts_bspline_new(1, 1, 0, TS_CLAMPED, &spline, &status)) @@ -64,11 +65,10 @@ sub_spline_equal_knots(CuTest *tc) (tsReal) 0.5, (tsReal) 0.5, &spline, - &status); + &stat); ___THEN___ - Cu...
fuse: simplify state restoration logic
((slog err) (emil moves)) :: ++ take-fuse + |^ + :: |= [bec=beak =riot] ^+ ..take-fuse ?~ riot ?. all-done ..take-fuse =| rag=rang - =/ clean-hut-ran hut.ran + =/ clean-state ..take-fuse =/ initial-dome=dome:clay (need (~(got by sto.fiz) bas.fiz)) =/ continuation-yaki=yaki (~(got by hut.ran) (~(got by hit.initial-dome)...
updated references to CVE's in release notes.
@@ -918,6 +918,14 @@ for targeting 64 bit Windows, fixes for buffer overruns and a number of other minor fixes, additions and optimisations. Please see the Changelog files for more detailed information. +### Bugs + +This release addresses the following vulnerabilities: + +* [CVE-2009-1720](https://cve.mitre.org/cgi-bin...
Move print message under debug flag
@@ -539,11 +539,13 @@ void fcg_scc_cluster_add_inter_scc_edges(Graph *fcg, int *colour, dep_dist_mat ->val[scc1_fcg_offset + dim1][scc2_fcg_offset + dim2] = get_dep_dist_from_pluto_sol(sol, npar); - printf("Dependence distance between dims %d and %d\n of SCCs %d " + IF_DEBUG( + printf( + "Dependence distance between di...
s5j/clk: rework CMU driver Conflicts: os/arch/arm/src/s5j/Kconfig os/arch/arm/src/s5j/chip/s5jt200_cmu.h os/arch/arm/src/s5j/s5j_clock.c os/arch/arm/src/s5j/s5j_clock.h os/arch/arm/src/s5j/s5j_spi.c
@@ -355,11 +355,6 @@ config S5J_SFLASH default y depends on S5J_HAVE_SFLASH -config S5J_PWR - bool "PMU" - default n - depends on S5J_HAVE_PWR - config S5J_SENSOR_PPD42NS bool "PPD42NS Dust Sensor" default n
platform/motors/settings: Fix rated speeds. Update the values with those reported by the motors when they sync up. The values were quite far off for the technic motors.
@@ -108,7 +108,7 @@ static const pbio_observer_model_t model_technic_m_angular = { }; static const pbio_control_settings_t settings_technic_m_angular = { - .max_rate = 1000, + .max_rate = 1080, .abs_acceleration = 2000, .rate_tolerance = 50, .count_tolerance = 10, @@ -133,7 +133,7 @@ static const pbio_observer_model_t ...
Fix incorrect FUNCTION_TEST_END() in hrnPgWalToBuffer().
@@ -216,7 +216,7 @@ hrnPgWalToBuffer(PgWal pgWal, Buffer *walBuffer) FUNCTION_HARNESS_BEGIN(); FUNCTION_HARNESS_PARAM(PG_WAL, pgWal); FUNCTION_HARNESS_PARAM(BUFFER, walBuffer); - FUNCTION_TEST_END(); + FUNCTION_HARNESS_END(); ASSERT(walBuffer != NULL);
Match constants to struct type
@@ -798,16 +798,16 @@ struct quantization_and_transfer_table extern const quantization_and_transfer_table quant_and_xfer_tables[12]; /** @brief The block is an error block, and will return error color or NaN. */ -static constexpr unsigned int SYM_BTYPE_ERROR { 0 }; +static constexpr uint8_t SYM_BTYPE_ERROR { 0 }; /** @...
define YMAKE resource related configuration variables
@@ -66,6 +66,12 @@ when ($WITH_VALGRIND == "yes") { SYSINCL+=build/sysincl/valgrind.yml } +YMAKE_RESOURCE_BIN=${YMAKE_RESOURCE_GLOBAL}/ymake +YMAKE_RESOURCE_DIR=build/external_resources/ymake +when ($USE_YMAKE_RESOURCE == "yes") { + PEERDIR+=${YMAKE_RESOURCE_DIR} +} + __COMMA__=${comma:""} ARCADIA_TEST_ROOT=../arcadia_...
fix macpong project. send macpong packet through dedicated cell between two nodes.
@@ -51,6 +51,8 @@ int mote_main(void) { void macpong_initSend(opentimers_id_t id) { bool timeToSend = FALSE; + open_addr_t temp; + macpong_vars.macpongCounter = (macpong_vars.macpongCounter+1)%5; switch (macpong_vars.macpongCounter) { case 0: @@ -64,6 +66,8 @@ void macpong_initSend(opentimers_id_t id) { return; } if (i...
disabled pp counter on result screen by default yes
@@ -162,7 +162,7 @@ class Drawer: def draw_rankingpanel(self): if not self.initialised_ranking: - self.settings.timeframe = 1000 + #self.settings.timeframe = 1000 self.initialiseranking() self.initialised_ranking = True @@ -176,8 +176,8 @@ class Drawer: self.component.modicons.add_to_frame(self.pbuffer) self.component....
doc: fix broken link in release notes 1.3
@@ -43,7 +43,7 @@ Document updates ================ We have many new `reference documents available <https://projectacrn.github.io>`_, including: -* Getting Started Guide for Industry scenario +* :ref:`Getting Started Guide for Industry scenario <rt_industry_setup>` * :ref:`ACRN Configuration Tool Manual <acrn_configur...
king: ensure lmdb is statically linked on osx By way of ensuring the lmdb package's cabal extra-libraries field is ignored and our lmdb overlay is used. Don't ask.
@@ -82,6 +82,8 @@ haskell-nix.stackProject { urbit-king.components.tests.urbit-king-tests.testFlags = [ "--brass-pill=${brass.lfs}" ]; + + lmdb.components.library.libs = lib.mkForce [ lmdb ]; }; }]; }
this environment variable will prevent the installation of the ROCmclr sources into the install path
@@ -121,6 +121,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then echo echo " -----Running hipvdi cmake ---- " echo ${AOMP_CMAKE} $MYCMAKEOPTS $HIPVDI_REPO_DIR + export HIP_PLATFORM=ROCclr ${AOMP_CMAKE} $MYCMAKEOPTS $HIPVDI_REPO_DIR if [ $? != 0 ] ; then echo "ERROR hipvdi cmake failed. Cmake flags"
Pass only needed values to _ocf_mngt_calculate_ram_needed() function Rather then passing whole structs, supply _ocf_mngt_calculate_ram_needed() with just the values it actually uses.
@@ -1043,11 +1043,9 @@ static void _ocf_mngt_init_instance_init(struct ocf_cache_attach_context *contex ocf_pipeline_next(context->pipeline); } -uint64_t _ocf_mngt_calculate_ram_needed(ocf_cache_t cache, - ocf_volume_t cache_volume) +uint64_t _ocf_mngt_calculate_ram_needed(ocf_cache_line_size_t line_size, + uint64_t vo...
SOVERSION bump to version 2.20.28
@@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 20) -set(LIBYANG_MICRO_SOVERSION 27) +set(LIBYANG_MICRO_SOVERSION 28) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG...