message
stringlengths
6
474
diff
stringlengths
8
5.22k
metadata: start adding quotes
@@ -75,7 +75,7 @@ type= int status= implemented usedby/plugin= hosts augeas toml usedby/api= elektraKeyCmpOrder -description= relative order in the keyset if non-alphabetical order +description= "relative order in the keyset if non-alphabetical order is needed. This metadata is only to preserve order as found in the fi...
Use proper number of MSAA samples for headset canvas;
@@ -721,15 +721,19 @@ static ModelData* openvrControllerNewModelData(Controller* controller) { static void openvrRenderTo(headsetRenderCallback callback, void* userdata) { if (!state.isInitialized) return; + lovrGraphicsPushView(); + if (!state.canvas) { + glBindFramebuffer(0); + int msaa = 0; + glGetIntegerv(GL_SAMPLE...
Use same algorithm for table.insert and array writes The table_insert ones was a little bit faster so I chose that one. Techinically we now have a big chunk of duplicated code here. The simplest thing to do here would probably be to just get rid of table_insert for, if you ask me.
@@ -1022,31 +1022,30 @@ local function generate_lvalue_write(lvalue, exp_cvalue, ctx) -- TODO: GC local typ = lvalue.var._type local ui = ctx:new_cvar("lua_Unsigned", "ui") - local arrslot = ctx:new_cvar("TValue *", "arrslot") - local tvalue = ctx:new_cvar("TValue") + local slot = ctx:new_cvar("TValue *", "slot") + loc...
Disable hashrate modifier
@@ -371,7 +371,7 @@ namespace Miningcore.Blockchain.Bitcoin var multiplier = BitcoinConstants.Pow2x32; var result = shares * multiplier / interval; - result *= coin.HashrateMultiplier; + //result *= coin.HashrateMultiplier; return result; }
Add dragonborne save fixes to changelog
@@ -54,6 +54,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix custom events issue where some events wouldn't show their variables in the custom event parameters [@pau-tomas](https://github.com/pau-tomas) - Lots of bug fixes / helping get the open beta build ready [@pau-tomas](...
hw/mcu/nordic: Remove unnecessary RESUME task trigger RESUME is used after SUSPEND, but we do not trigger SUSPEND anywhere so this seems unnecessary.
@@ -438,7 +438,6 @@ hal_i2c_master_write(uint8_t i2c_num, struct hal_i2c_master_data *pdata, regs->SHORTS = 0; regs->TASKS_STARTTX = 1; - regs->TASKS_RESUME = 1; start = os_time_get(); for (i = 0; i < pdata->len; i++) {
ip/tests: Remove redundant NULL check new_sock is already dereferenced.
@@ -369,9 +369,7 @@ sock_tcp_data(void) TEST_ASSERT(msin.msin_addr.s_addr != 0); os_mbuf_free_chain(m); - if (new_sock) { mn_close(new_sock); - } mn_close(sock); mn_close(listen_sock); }
ectool: put help menu items in alphabetical order fo* should come before fp* TEST=print help Tested-by: Curtis Malainey
@@ -133,6 +133,8 @@ const char help_str[] = " Reads from EC flash to a file\n" " flashwrite <offset> <infile>\n" " Writes to EC flash from a file\n" + " forcelidopen <enable>\n" + " Forces the lid switch to open position\n" " fpencstatus\n" " Prints status of Fingerprint sensor encryption engine\n" " fpframe\n" @@ -147...
Add document-format-error state message (Issue
@@ -207,8 +207,13 @@ main(int argc, /* I - Number of command-line arguments */ * - job-pages-col * - job-pages-completed * - job-pages-completed-col + * + * Also write a STATE line if the document format is bad... */ + if (Errors) + fputs("STATE: +document-format-error\n", stderr); + fprintf(stderr, "ATTR: job-pages=%d...
proxy_arp: remove unused is_add
called through a shared memory interface. */ -option version = "1.2.4"; +option version = "1.3.0"; import "vnet/fib/fib_types.api"; /** \brief Add / del table request @@ -868,7 +868,6 @@ service { typeonly define proxy_arp { u32 vrf_id; - u8 is_add; u8 low_address[4]; u8 hi_address[4]; };
Testing: test for new GRIB2 templates
@@ -18,10 +18,18 @@ temp2=temp2.$label.grib2 temp=temp.$label.grib2 sample2=$ECCODES_SAMPLES_PATH/GRIB2.tmpl + +# Template 4.86 +# ------------- +# TODO: Add tablesVersion later... +$tools_dir/grib_set -s productDefinitionTemplateNumber=86,numberOfForecastsUsedInLocalTime=1 $sample2 $temp +grib_check_key_equals $temp t...
Remove duplicate points in Valhalla routing results, consecutive manuevers can now share the endpoints. This uses the same convention as other routing engines, but may potentially break apps that depend on the old behaviour.
@@ -244,6 +244,10 @@ namespace carto { } float ValhallaRoutingProxy::CalculateTurnAngle(const std::vector<MapPos>& epsg3857Points, int pointIndex) { + if (pointIndex >= static_cast<int>(epsg3857Points.size())) { + return 0; + } + int pointIndex0 = pointIndex; while (--pointIndex0 >= 0) { if (epsg3857Points.at(pointInde...
fix: add "BoatGetTimes" to boatplatform.h
@@ -128,6 +128,17 @@ void BoatFree(void *mem_ptr); ******************************************************************************/ void BoatSleep(BUINT32 second); +/*!**************************************************************************** + * @brief Wrapper function for gettimes + * + * @details + * This function ...
OcAppleDiskImageLib: Another device path fix
@@ -195,7 +195,7 @@ InternalConstructDmgDevicePath ( DevPath->RamDisk.MemMap.Header.SubType = HW_MEMMAP_DP; DevPath->RamDisk.MemMap.MemoryType = EfiACPIMemoryNVS; DevPath->RamDisk.MemMap.StartingAddress = RamDmgAddress; - DevPath->RamDisk.MemMap.EndingAddress = RamDmgAddress + sizeof (APPLE_RAM_DISK_EXTENT); + DevPath-...
Z1: enable building TSCH timesync demo for this platform, was disabled accidentally
@@ -3,7 +3,7 @@ all: $(CONTIKI_PROJECT) CONTIKI=../../.. -PLATFORMS_EXCLUDE = sky z1 nrf52dk native +PLATFORMS_EXCLUDE = sky nrf52dk native # force Orchestra from command line MAKE_WITH_ORCHESTRA ?= 0
more page break cleanup for docs
@@ -54,8 +54,7 @@ be use for MPI job launch. Instead, native job launch mechanisms provided by the MPI stacks are utilized and \texttt{prun} abstracts this process for the various stacks to retain a single launch command. -\iftoggle{isSLES_ww_slurm_x86}{\clearpage} - +%\iftoggle{isSLES_ww_slurm_x86}{\clearpage} %\iftog...
btc: styling improvements in invoice.js
@@ -112,31 +112,34 @@ export default class Invoice extends Component { padding={4} > <Row> - <Text fontWeight='500'>You are sending</Text> + <Text fontSize='14px' fontWeight='500'>You are sending</Text> </Row> <Row mt={2} > <Text color='green' + fontSize='14px' >{`$${denomAmount} ${denomination}`}</Text> <Text ml={2} +...
Make platform specific
# See the License for the specific language governing permissions and # limitations under the License. # +PLATFORM ?= $(shell uname -i) software_subdirs += software hardware_subdirs += hardware action_subdirs += actions -subdirs += $(software_subdirs) $(hardware_subdirs) $(action_subdirs) +clean_subdirs += $(software_s...
feat(boat for L610): update boat for L610, add chainmaker and fabric , add BoatGetTimes()
/* net releated include */ #include <sys/types.h> #include <string.h> +#include <time.h> @@ -90,6 +91,12 @@ void BoatSleep(BUINT32 second) { fibo_taskSleep(1000 * second); } +long int BoatGetTimes() +{ + return time(NULL); +} + + BUINT16 lwip_htons(BUINT16 x){ return PP_HTONS(x); }
doc MAINTENANCE improve ctx node purpose in path
@@ -96,7 +96,7 @@ struct ly_path { * @brief Parse path into XPath token structure and perform all additional checks. * * @param[in] ctx libyang context. - * @param[in] ctx_node Optional context node. + * @param[in] ctx_node Optional context node, used for logging. * @param[in] str_path Path to parse. * @param[in] path_...
Lambert Azimuthal: add extra keys
@@ -42,11 +42,13 @@ flags[1] resolutionAndComponentFlags 'grib2/tables/[tablesVersion]/3.3.table' : unsigned[4] xDirectionGridLengthInMillimetres : dump ; alias Dx = xDirectionGridLengthInMillimetres ; meta geography.xDirectionGridLengthInMetres scale(xDirectionGridLengthInMillimetres,one,thousand,truncateDegrees): dum...
TWAI: Fix incorrect configuration initializers for low speed bit rates This commit fixes the timing configuration initializers for the 1K, 5K, and 10K bit rates.
@@ -61,9 +61,9 @@ extern "C" { * @note The available bit rates are dependent on the chip target and revision. */ #if (SOC_TWAI_BRP_MAX > 256) -#define TWAI_TIMING_CONFIG_1KBITS() {.brp = 4000, .tseg_1 = 15, .tseg_2 = 8, .sjw = 3, .triple_sampling = false} -#define TWAI_TIMING_CONFIG_5KBITS() {.brp = 800, .tseg_1 = 15, ...
Update return documentation of psa_pake_set_user()
@@ -1472,10 +1472,12 @@ psa_status_t psa_pake_set_password_key(psa_pake_operation_t *operation, * \retval #PSA_SUCCESS * Success. * \retval #PSA_ERROR_INVALID_ARGUMENT - * \p user_id is NULL. + * \p user_id is not valid for the \p operation's algorithm and cipher + * suite. + * \retval #PSA_ERROR_NOT_SUPPORTED + * The ...
Fix comparision in scope_start test handle rc, tc correctly use same logic as in `IsVersionDev` method
@@ -50,9 +50,10 @@ fi } # Identify if version used in this test is official or not +# based on IsVersionDev method -> version.go SCOPE_VERSION=$(scope version --summary) -rx='^v([0-9]+\.){0,2}(\*|[0-9]+)$' -if [[ $SCOPE_VERSION =~ $rx ]]; then +SCOPE_TAG=$(scope version --tag) +if [ "${SCOPE_VERSION:1}" = "$SCOPE_TAG" ...
Fix pluginVsInstall test suite failure with mfem db plugin. PluginVsInstall.cmake.in needed to add mfem's include dependency on conduit.
# Kathleen Biagas, Thu Nov 8 10:10:06 PST 2018 # Added VTKh_INCLUDE_DIRS and VTKM_DIR. # +# Kathleen Biagas, Wed Apr 17 12:54:40 PDT 2019 +# MFEM has an include dependency on conduit, move it below conduit in the +# list and add conduit include to it's include. +# #******************************************************...
Update comment atop of ReorderBufferQueueMessage(). The comments atop of this function describes behaviour in case of a transactional WAL message only, but it accepts both transactional and non-transactional WAL messages. Update the comments to describe behaviour in case of non-transactional WAL message as well. Ashuto...
@@ -783,7 +783,8 @@ ReorderBufferQueueChange(ReorderBuffer *rb, TransactionId xid, XLogRecPtr lsn, } /* - * Queue message into a transaction so it can be processed upon commit. + * A transactional message is queued to be processed upon commit and a + * non-transactional message gets processed immediately. */ void Reord...
Removed message regarding deprecation.
@@ -51,8 +51,6 @@ Deletes and recreates the attributes for the asset's parameters. If the asset's @subsection Maya_Assets_Options_SplitGeosByGroup Split Geos By Group -This option may soon become obsolete and removed, so relying on this option is not recommended. - Normally, all the primitives of the same type are outp...
[Bsp] stm32f107 delete c99 mode code
@@ -419,8 +419,9 @@ rt_err_t stm32_spi_register(SPI_TypeDef * SPI, { rt_err_t res = RT_EOK; NVIC_InitTypeDef NVIC_InitStructure; - RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); rt_uint32_t flags = 0; + RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE); + if(SPI == SPI1) { stm32_spi->SPI = SPI1;
spi: fix cmakelists missing
@@ -14,10 +14,10 @@ if(NOT BOOTLOADER_BUILD) "src/lldesc.c" "src/soc_include_legacy_warn.c") - if(soc_name STREQUAL "esp32") - list(APPEND COMPONENT_SRCS "src/hal/spi_hal.c" "src/hal/spi_hal_iram.c" - "src/hal/spi_slave_hal.c" "src/hal/spi_slave_hal_iram.c") - endif() + list(APPEND COMPONENT_SRCS "src/hal/spi_hal.c" + ...
doc: improved plugins.md
@@ -363,7 +363,8 @@ be called and the mounted file will be updated. We haven't discussed `ELEKTRA_SET_ERROR` yet. Because Elektra is a library, printing errors to stderr wouldn't be a good idea. Instead, errors and warnings can be appended to a key in the form of metadata. This is what `ELEKTRA_SET_ERROR` does. Because...
doc: update wrong decision link
@@ -289,7 +289,7 @@ This section keeps you up-to-date with the multi-language support provided by El - decided [decision process](https://www.libelektra.org/decisions/decision-process) _(Markus Raab)_ - draft for [man pages](/doc/decisions/man_pages.md) _(Markus Raab)_ - <<TODO>> -- Add decision for [change tracking](/...
remove double defined text
\subsubsection{Add \OHPC{} components} \label{sec:add_components} \input{common/add_to_compute_chroot_intro} -\noindent Now, we can include additional components to the compute instance using -\texttt{zypper} to install into the chroot location defined previously: - % begin_ohpc_run \begin{lstlisting}[language=bash,lit...
Change flatpak ID in readme
@@ -61,7 +61,7 @@ If you are using Flatpaks, you will have to add the [Flathub repository](https:/ ##### For Steam flatpak ``` -flatpak install com.valvesoftware.Steam.VulkanLayer.MangoHud +flatpak install com.valvesoftware.Steam.Utility.MangoHud ``` To enable MangoHud for all Steam games: ```
Shader:send doesn't error on unknown uniform; Instead it returns a boolean indicating if the send worked.
@@ -208,7 +208,10 @@ static int l_lovrShaderSend(lua_State* L) { Shader* shader = luax_checktype(L, 1, Shader); const char* name = luaL_checkstring(L, 2); const Uniform* uniform = lovrShaderGetUniform(shader, name); - lovrAssert(uniform, "Unknown shader variable '%s'", name); + if (!uniform) { + lua_pushboolean(L, fals...
Add missing type conversion.
@@ -346,7 +346,7 @@ tsError TINYSPLINE_API ts_bspline_set_knots_varargs(tsBSpline *spline, spline, &values, status)) values[0] = knot0; - values[1] = knot1; + values[1] = (tsReal) knot1; va_start(argp, knot1); for (idx = 2; idx < ts_bspline_num_knots(spline); idx++) values[idx] = (tsReal) va_arg(argp, double); @@ -591,...
Don't Assert() in MemoryAccounting_ConvertIdToAccount() Greenplum's Assert() invokes Trap(), then ExceptionalCondition(), then errdetail(), MemoryAccounting_Allocate(), MemoryAccounting_ConvertIdToAccount() and Assert() again. It will fall into an infinite error handling loop until the process got signaled. Just abort ...
#ifndef MEMACCOUNTING_PRIVATE_H #define MEMACCOUNTING_PRIVATE_H +#include <assert.h> + #include "utils/memaccounting.h" extern MemoryAccountIdType liveAccountStartId; @@ -92,21 +94,34 @@ MemoryAccounting_ConvertIdToAccount(MemoryAccountIdType id) { MemoryAccount *memoryAccount = NULL; + /* + * Don't Assert() in this fu...
Remove comma at end of enumerator list parse_state
@@ -103,7 +103,7 @@ typedef enum parse_state { PS_DECSIXEL = 3, /* DECSIXEL body part ", $, -, ? ... ~ */ PS_DECGRA = 4, /* DECGRA Set Raster Attributes " Pan; Pad; Ph; Pv */ PS_DECGRI = 5, /* DECGRI Graphics Repeat Introducer ! Pn Ch */ - PS_DECGCI = 6, /* DECGCI Graphics Color Introducer # Pc; Pu; Px; Py; Pz */ + PS_...
Improve performance on browser
@@ -515,7 +515,21 @@ protocol DocumentBrowserViewControllerDelegate { cell = collectionView.dequeueReusableCell(withReuseIdentifier: "File", for: indexPath) as! FileCollectionViewCell } - if cell.file != scripts[indexPath.row], let str = try? String(contentsOf: scripts[indexPath.row]), let textView = cell.previewContai...
[kernel] NewtonEulerDS: debug assert isnan for externally-computed matrices. This would have saved some time after making a mistake in some external code that was supplying NaNs to mExt, so may as well add some debug asserts.
@@ -1049,11 +1049,13 @@ void NewtonEulerDS::computeForces(double time, SP::SiconosVector q, SP::SiconosV if(_fExt) { computeFExt(time); + assert(!isnan(_fExt->vector_sum())); _wrench->setBlock(0, *_fExt); } if(_mExt) { computeMExt(time); + assert(!isnan(_mExt->vector_sum())); if(_isMextExpressedInInertialFrame) ::chang...
Note tag position in Changelog.
different openssl versions. 17 February 2020: Wouter - - changelog point where the tag for 1.10.0rc2 release is. + - changelog point where the tag for 1.10.0rc2 release is. And with + the unbound_smf23 commit added to it, that is the 1.10.0 release. 17 February 2020: Ralph - Add respip to supported module-config option...
parser: This is unreachable (vm rewinds jumps back as it goes).
@@ -349,8 +349,6 @@ static void rewind_parser(lily_parse_state *parser, lily_rewind_state *rs) lily_mb_flush(raiser->msgbuf); lily_mb_flush(raiser->aux_msgbuf); raiser->line_adjust = 0; - while (raiser->all_jumps->prev) - raiser->all_jumps = raiser->all_jumps->prev; /* Rewind the parts of the vm that can be rewound. */...
Internal Notification: Add `nodep` to status
- infos/provides = - infos/recommends = - infos/placements = postgetstorage postcommit -- infos/status = unittest libc global experimental unfinished concept +- infos/status = unittest libc nodep global experimental unfinished concept - infos/metadata = - infos/description = Plugin for internal notification
nshlib/nsh_fileapps.c: Pass global environ instead of NULL for posix_spawnp Now that the environ pointer is a list of pointers-to-string, it can be passed to the standard posix_spawn function as-is.
#endif #include <stdbool.h> +#include <stdlib.h> #include <spawn.h> #include <errno.h> #include <string.h> @@ -126,7 +127,7 @@ int nsh_fileapp(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd, * failure. */ - ret = posix_spawnp(&pid, cmd, &file_actions, &attr, argv, NULL); + ret = posix_spawnp(&pid, cmd, &file_actions,...
Add two small fixes
@@ -78,7 +78,7 @@ Creates an UDP socket. none #### Returns -net.udpsocket sub module +[net.udpsocket sub module](#netudpsocket-module) #### See also [`net.createConnection()`](#netcreateconnection) @@ -442,10 +442,10 @@ The syntax and functional similar to [`net.server:listen()`](#netserverlisten), Register callback fu...
Convert strNewFmt() to THROW_FMT() in config/parse module. It's not clear why strNewFmt() was used here, but there is no need for it.
@@ -2109,13 +2109,9 @@ configParse(const Storage *storage, unsigned int argListSize, const char *argLis } } - THROW( - OptionInvalidError, - strZ( - strNewFmt( - "option '%s' not valid without option '%s'%s", - cfgParseOptionKeyIdxName(optionId, optionKeyIdx), strZ(dependOptionName), - strZ(errorValue)))); + THROW_FMT(...
feat: enable source spec location
@@ -53,6 +53,9 @@ int main (int argc, char ** argv) char * file = argv[optind]; s = orka_load_whole_file(file, &len); + spec_name = file; + spec_buffer.start = s; + spec_buffer.size = len; struct jc_definition d; memset(&d, 0, sizeof(d));
Change to const BTBdaddr_t *
@@ -594,7 +594,7 @@ typedef void ( * BTBondedCallback_t)( BTStatus_t xStatus, * @param[in] xReason Contains ACL disconnect reason when xState is @ref eBTaclStateDisconnected. */ typedef void (* BTAclStateChangedCallback_t)( BTStatus_t xStatus, - BTBdaddr_t * pxRemoteBdAddr, + const BTBdaddr_t * pxRemoteBdAddr, BTAclSta...
unix/main: Use OS-dependent path separator when searching path.
@@ -527,7 +527,7 @@ MP_NOINLINE int main_(int argc, char **argv) { #endif } size_t path_num = 1; // [0] is for current dir (or base dir of the script) - if (*path == ':') { + if (*path == PATHLIST_SEP_CHAR) { path_num++; } for (char *p = path; p != NULL; p = strchr(p, PATHLIST_SEP_CHAR)) {
sprintf cleanup
@@ -384,7 +384,6 @@ static int sprintf_parsepattern(t_sprintf *x, char **patternp) } if (*numfield) numfield = 0; - if (strchr("diouxX", *ptr)) { type = SPRINTF_INT; @@ -394,8 +393,7 @@ static int sprintf_parsepattern(t_sprintf *x, char **patternp) { if (modifier) { - if (x) sprintf(errstring, - "\'%c\' modifier not su...
mimxrt: Fix MIMXRT1060 sectors_info
@@ -122,7 +122,7 @@ static const uint32_t flash_size = 0x00800000; * at address flash_start + flash_size. */ static const sector_info_t sectors_info[] = { - 0x60000000, 0x00010000, + {0x60000000, 0x00010000}, }; static const program_target_t flash = {
Fix MSAA Canvas readback;
@@ -2035,6 +2035,10 @@ TextureData* lovrCanvasNewTextureData(Canvas* canvas, uint32_t index) { lovrGraphicsFlushCanvas(canvas); lovrGpuBindCanvas(canvas, false); + if (canvas->flags.msaa) { + glBindFramebuffer(GL_READ_FRAMEBUFFER, canvas->resolveBuffer); + } + #ifndef LOVR_WEBGL Texture* texture = canvas->attachments[i...
workflow/verify: reformat To not overlap with confirmation arrows.
@@ -58,11 +58,10 @@ static const component_functions_t _component_functions = { /********************************** Create Instance **********************************/ static component_t* _confirm_transaction_create( - const char* prefix, const char* amount, const char* address, const char* fee, - bool longtouch, + boo...
zephyr/include/emul/tcpc/emul_tcpci_partner_src.h: Format with clang-format BRANCH=none TEST=none
@@ -95,8 +95,8 @@ enum check_pdos_res tcpci_src_emul_check_pdos(struct tcpci_src_emul_data *data); * * @return Pointer to USB-C source extension */ -struct tcpci_partner_extension *tcpci_src_emul_init( - struct tcpci_src_emul_data *data, +struct tcpci_partner_extension * +tcpci_src_emul_init(struct tcpci_src_emul_data ...
vere: simulate successful negotation (temporary, pending arvo)
@@ -557,7 +557,7 @@ _pier_work_init(u3_pier* pir_u) /* _pier_wyrd_good(): %wyrd version negotation succeeded. */ static void -_pier_wyrd_good(u3_pier* pir_u, u3_ovum* egg_u, u3_gift* gif_u) +_pier_wyrd_good(u3_pier* pir_u, u3_ovum* egg_u) { // restore event callbacks // @@ -571,10 +571,6 @@ _pier_wyrd_good(u3_pier* pir...
Build script raises exceptions after building in parallel
@@ -44,7 +44,10 @@ def build_all_programs(only_recently_updated: bool = False) -> None: # recompile_program(program_dir) with concurrent.futures.ProcessPoolExecutor(max_workers=8) as executor: - [executor.submit(recompile_program, program_dir) for program_dir in meson_dirs] + futures = [executor.submit(recompile_progra...
Use standard SIGHUP handler in syslogger. Commit changed background processes so that they use standard SIGHUP handler. Like that, this commit makes syslogger use standard SIGHUP handler to simplify the code. Author: Bharath Rupireddy Discussion:
#include "pgstat.h" #include "pgtime.h" #include "postmaster/fork_process.h" +#include "postmaster/interrupt.h" #include "postmaster/postmaster.h" #include "postmaster/syslogger.h" #include "storage/dsm.h" @@ -123,7 +124,6 @@ static CRITICAL_SECTION sysloggerSection; /* * Flags set by interrupt handlers for later servi...
misc: fts add support for non-ascii author names in yaml Type: fix
@@ -248,12 +248,12 @@ def main(): featurefile = featurefile.rstrip() # Load configuration file - with open(featurefile) as f: + with open(featurefile, encoding='utf-8') as f: cfg = yaml.load(f, Loader=yaml.SafeLoader) try: validate(instance=cfg, schema=schema) except exceptions.ValidationError: - print('File does not v...
Upload mpu9250.py as needed
@@ -8,7 +8,6 @@ from machine import RTC from machine import TouchPad import time from neopixel import NeoPixel -from mpu9250 import * def get_brightness(): return ADCSensor(pin = 39).read() @@ -183,8 +182,18 @@ touch3 = MyPin(25) touch4 = MyPin(26) i2c = I2C(scl = Pin(22), sda = Pin(21), freq = 100000) +buf = bytearray...
Enable more block modes for -fastest
@@ -62,7 +62,7 @@ struct astcenc_preset_config static const std::array<astcenc_preset_config, 5> preset_configs_high {{ { ASTCENC_PRE_FASTEST, - 2, 10, 42, 2, 2, 85.2f, 63.2f, 3.5f, 3.5f, 1.0f, 1.0f, 0.5f, 25 + 2, 10, 43, 2, 2, 85.2f, 63.2f, 3.5f, 3.5f, 1.0f, 1.0f, 0.5f, 25 }, { ASTCENC_PRE_FAST, 3, 14, 55, 3, 3, 85.2f...
Doxygen: Fixed broken link from general revision history to Core(A) history.
@@ -177,7 +177,7 @@ The following table shows the overall high-level history of the various CMSIS re In addition, each CMSIS component has its own release history: - <a href="../../Core/html/core_revisionHistory.html"><b>CMSIS-Core (Cortex-M) Revision History</b></a> -- <a href="../../Core/html/rev_histCoreA.html"><b>C...
README.md updated per Steve Moyer's instructions
@@ -13,8 +13,8 @@ Internet of Things (IoT), and Artificial Intelligence (AI) solutions. ## Key Features * Standard and advanced key-value operators -* Full transactions with snapshot-isolation semantics spanning multiple -independent key-value collections +* Full transactions with snapshot-isolation spanning multiple i...
fix tests/kernel/test_printf.cl PoCL was using sqrt(-1.0f) for NaN, however AFAICT it is implementation defined whether this produces NaN or -NaN, and printf() does print the nan's sign. Fixed by replacing sqrt() with NAN constant instead.
kernel void test_printf() { + printf(""); printf("INTEGERS\n\n"); printf("1\n"); @@ -71,7 +72,8 @@ kernel void test_printf() printf("%0.3f\n", 0.0f); printf("%+8.2f\n",-10.3456); - printf("%f\n",sqrt(-1.0f)); + + printf("%f\n", NAN); printf ("\n%%e conversion\n\n");
Add a LogManagerBase::Initialize IHttpClient parameter.
@@ -173,18 +173,61 @@ namespace ARIASDK_NS_BEGIN } /// <summary> - /// Initializes the telemetry logging system with default configuration. + /// Initializes the telemetry logging system with default configuraiton and HTTPClient. + /// </summary> + /// <returns>A logger instance instantiated with the default tenantToke...
openssl version testing...
@@ -38,9 +38,9 @@ unless ENV['NO_SSL'] else if have_library('crypto') && have_library('ssl') puts "Detected OpenSSL library, testing for version." - if try_compile("\#include <openssl/ssl.h>\r\#if OPENSSL_VERSION_AT_LEAST(1, 0)\r\#error \"OpenSSL version too small\"\r\#endif\rint main(void) { SSL_library_init(); }") + ...
Enable xterm recommended console size on WIN32.
@@ -53,10 +53,11 @@ static DWORD g_old_mode_stdin = 0; static DWORD g_old_mode_stdout = 0; #else static struct termios g_old_termios; +#endif + static int g_got_rows = 0; static int g_got_columns = 0; static Uint32 g_got_size_timestamp = 0; -#endif struct TCOD_RendererXterm { TCOD_Console* cache; @@ -200,12 +201,10 @@ ...
fixed missing forward declaration
@@ -50,6 +50,8 @@ local function to_string(addr, esc) end end +local conversion + local function readout(self) local next = false local sens = self.sens @@ -114,7 +116,7 @@ local function readout(self) end end -local function conversion(self) +conversion = function (self) local sens = self.sens local powered_only = tru...
replace libretro-common 35
@@ -692,7 +692,6 @@ SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_strcasestr $(NP2_PATH)/sdl2/libretro/libretro-common/lists/file_list.c \ $(NP2_PATH)/sdl2/libretro/libretro-common/lists/string_list.c \ $(NP2_PATH)/sdl2/libretro/libretro-common/lists/vector_list.c \ - $(NP2_PATH)/sdl2/libretro/li...
Updated json file for 1.4.4 release.
"version": "1.0.0" } ] + }, + { + "name": "OpenCR", + "architecture": "OpenCR", + "version": "1.4.4", + "category": "Arduino", + "help": { + "online": "https://github.com/ROBOTIS-GIT/OpenCR" + }, + "url": "https://github.com/ROBOTIS-GIT/OpenCR/releases/download/1.4.4/opencr_core_1.4.4.tar.bz2", + "archiveFileName": "op...
Potential slight optimisation
@@ -739,8 +739,8 @@ static DictuInterpretResult run(DictuVM *vm) { } \ \ type b = AS_NUMBER(pop(vm)); \ - type a = AS_NUMBER(pop(vm)); \ - push(vm, valueType(a op b)); \ + type a = AS_NUMBER(peek(vm, 0)); \ + vm->stackTop[-1] = valueType(a op b); \ } while (false) #define BINARY_OP_FUNCTION(valueType, op, func, type) \...
Fix broken script editor
@@ -204,7 +204,7 @@ ScriptEventInput.defaultProps = { class ScriptEventField extends Component { shouldComponentUpdate(nextProps, nextState) { rerenderCheck("ScriptEventField", this.props, {}, nextProps, {}); - return !areEqualShallow(this.props, nextProps); + return true; } onChange = (newValue, valueIndex) => {
[io] correct loop to get the type of object
@@ -599,7 +599,7 @@ class MechanicsHdf5(object): # if the hdf5 file contains already some objects, we correcly initialize # the object counter if len(self._input) >= 0: - type_obj = [obj.attrs['type'] for (name, obj) in self._input.items()] + type_obj = [obj.attrs['type'] for obj in self._input.values()] self._number_o...
Conform the sample light resource to binary switch This conforms the sample light resource in the bleprph_oic sample app to the binary switch resource type as defined in the OCF Resource Type Spec:
@@ -279,19 +279,19 @@ bleprph_on_sync(void) static void app_get_light(oc_request_t *request, oc_interface_mask_t interface) { - bool state; + bool value; if (hal_gpio_read(LED_BLINK_PIN)) { - state = true; + value = true; } else { - state = false; + value = false; } oc_rep_start_root_object(); switch (interface) { case...
jenkinsfile.release: parameterize maven package version If the default parameter is used, the Elektra version is used as maven package version tag, otherwise "-<VERSION>" is appended to the Elektra version. This enables re-running of the maven-publish stage.
@@ -35,6 +35,12 @@ properties([ description: 'Alpine Docker image revision.', name: 'alpine_revision', trim: true + ), + string( + defaultValue: '1', + description: 'Maven package revision.', + name: 'maven_revision', + trim: true ) ]) ]) @@ -835,9 +841,13 @@ def buildAndPublishMaven() { string(credentialsId: 'maven-si...
Use constant string for user/group in performance/type test. It is not safe to return strings created with STRDEF() from a function.
@@ -61,6 +61,8 @@ typedef struct uint64_t fileTotal; } StorageTestManifestNewBuild; +STRING_STATIC(TEST_MANIFEST_PATH_USER_STR, "test"); + static StorageInfo storageTestManifestNewBuildInfo(THIS_VOID, const String *file, StorageInfoLevel level, StorageInterfaceInfoParam param) { @@ -74,8 +76,8 @@ storageTestManifestNew...
Remove MediaCodec error suggestion fix Now that scrcpy attempts with a lower definition on any MediaCodec error (or the user explicitly requests to disable auto-downsizing), the suggestion is unnecessary. PR <https://github.com/Genymobile/scrcpy/pull/2947>
package com.genymobile.scrcpy; import android.graphics.Rect; -import android.media.MediaCodec; import android.media.MediaCodecInfo; import android.os.BatteryManager; import android.os.Build; @@ -267,16 +266,6 @@ public final class Server { } private static void suggestFix(Throwable e) { - if (Build.VERSION.SDK_INT >= B...
adlrvp: Enable CBI utility Branch=none Bug=b:190523663 Test=build ec image and test on adlrvp. cbi set/get works OK
#define I2C_PORT1_BB_RETIMER_SOC_ADDR 0x55 #endif +/* I2C EEPROM */ +#define I2C_ADDR_EEPROM_FLAGS 0x50 +#define I2C_PORT_EEPROM I2C_PORT_PCA9555_BOARD_ID_GPIO + +/* Enable CBI */ +#define CONFIG_CROS_BOARD_INFO + /* Configure mux at runtime */ #define CONFIG_USB_MUX_RUNTIME_CONFIG
build_boot.sh: remove check for obsolete target header The C sources themselves now complain when the build configuration is not complete.
@@ -8,11 +8,6 @@ if [ -z "$BOARD" ]; then exit 1; fi -if [ ! -f "$(dirname $0)/boot/zephyr/targets/${BOARD}.h" ]; then - echo "Board $BOARD not yet supported, please use a supported target." - exit 1; -fi - # Check if there is a valid Zephyr environment available if [ -z "$ZEPHYR_BASE" ]; then echo "ZEPHYR_BASE not pro...
Switch threads on thread_sleep for proper accounting The thread_sleep functions were getting runloop time added to them. This commit switches current to the dummy thread so runloop time will be attributed there instead.
@@ -207,6 +207,8 @@ void thread_sleep_interruptible(void) disable_interrupts(); assert(current->blocked_on); thread_log(current, "sleep interruptible (on \"%s\")", blockq_name(current->blocked_on)); + ftrace_thread_switch(current, dummy_thread); + current_cpu()->current_thread = (nanos_thread)dummy_thread; runloop(); }...
linux: ubuntu instruction update
#!/bin/bash -sudo apt-get install gcc g++ make wget +sudo apt-get install gcc g++ make wget ruby ruby-dev sudo apt-get install build-essential sudo apt-get install \ "^libxcb.*" libx11-dev libx11-xcb-dev libxcursor-dev libxrender-dev libxrandr-dev \ @@ -15,5 +15,4 @@ sudo apt-get install qtdeclarative5-dev qtmultimedia...
Not MemSW init(sound enable)
@@ -93,12 +93,12 @@ const OEMCHAR np2version[] = OEMTEXT(NP2VER_CORE); NP2CFG np2cfg = { 0, 1, 0, 32, 0, 0, 0x40, 0, 0, 0, 0, - {0x3e, 0xf3, 0x7b}, 0, + {0x3e, 0xe3, 0x7b}, 0, 0, 0, {1, 1, 6, 1, 8, 1}, 128, 0x00, 1, OEMTEXT("VX"), PCBASECLOCK25, PCBASEMULTIPLE, 1, - {0x48, 0x05, 0x04, 0x00, 0x01, 0x00, 0x00, 0x6e}, + {...
test NEW target test Test target on path with several positional predicates.
#include <cmocka.h> #include "libyang.h" +#include "common.h" +#include "path.h" +#include "xpath.h" #define BUFSIZE 1024 char logbuf[BUFSIZE] = {0}; @@ -58,7 +61,9 @@ setup(void **state) "leaf-list ll { type string;}" "container c {leaf-list x {type string;}}" "anydata any {config false;}" - "list l2 {config false; co...
zephyr/shim/src/hooks.c: Format with clang-format BRANCH=none TEST=none
@@ -35,9 +35,8 @@ FOR_EACH(HOOK_LIST_EXTERNS, (), HOOK_TYPES_LIST) .start = _zephyr_shim_hook_##type##_list_start, \ .end = _zephyr_shim_hook_##type##_list_end, \ } -static const struct zephyr_shim_hook_list hook_registry[] = { - FOR_EACH(HOOK_LIST_ENTRY, (,), HOOK_TYPES_LIST) -}; +static const struct zephyr_shim_hook_...
rsa_signverify_init: Set the PARAMS after key is set Also, default to unrestricted pss parameters until the key is set. Fixes
@@ -190,6 +190,9 @@ static void *rsa_newctx(void *provctx, const char *propq) prsactx->libctx = PROV_LIBCTX_OF(provctx); prsactx->flag_allow_md = 1; prsactx->propq = propq_copy; + /* Maximum for sign, auto for verify */ + prsactx->saltlen = RSA_PSS_SALTLEN_AUTO; + prsactx->min_saltlen = -1; return prsactx; } @@ -406,9 ...
use global address calculating checksum when destination is not multi-cast address.
@@ -398,8 +398,6 @@ bool packetfunctions_checkCRC(OpenQueueEntry_t* msg) { void packetfunctions_calculateChecksum(OpenQueueEntry_t* msg, uint8_t* checksum_ptr) { uint8_t temp_checksum[2]; uint8_t little_helper[2]; - open_addr_t prefix64btoWrite; - open_addr_t mac64btoWrite; open_addr_t localscopeAddress; // initialize ...
ResourceSkeleton: set flex-shrink priority, mobile On mobile devices, long channel names can push the menu offscreen. However, we don't want the title to be shrunk by a long description. We want the description to shrink first. So we set flex-shrink priorities, and also don't let the title shrink on desktop.
@@ -90,7 +90,7 @@ export function ResourceSkeleton(props: ResourceSkeletonProps): ReactElement { > <Link to={`/~landscape${workspace}`}> {'<- Back'}</Link> </Box> - <Box px={1} mr={2} minWidth={0} display="flex" flexShrink={0}> + <Box px={1} mr={2} minWidth={0} display="flex" flexShrink={[1, 0]}> <Text mono={urbitOb.is...
newlib: implement __atomic_load/__atomic_store functions
#include "sdkconfig.h" #include <stdbool.h> #include <stdint.h> +#include <string.h> #include "soc/soc_caps.h" #include "freertos/FreeRTOS.h" @@ -494,3 +495,18 @@ ATOMIC_LOAD(8, long long unsigned int) ATOMIC_STORE(8, long long unsigned int) #endif // !HAS_ATOMICS_64 + +// Clang generates calls to the __atomic_load/__a...
tests/run-tests: Consider all tests as native when emit=native is used. So that they are skipped when running on a target that doesn't support the native emitter, eg a nanbox build.
@@ -442,7 +442,7 @@ def run_tests(pyb, tests, args, base_path="."): test_basename = test_file.replace('..', '_').replace('./', '').replace('/', '_') test_name = os.path.splitext(os.path.basename(test_file))[0] - is_native = test_name.startswith("native_") or test_name.startswith("viper_") + is_native = test_name.starts...
zephyr: lis2dw12 emulator: add explicit label property The lis2dw12 emulator and tests currently require the label property. Override the deprecated attribute from the base.yaml. BRANCH=none TEST=./twister --clobber
@@ -6,7 +6,15 @@ description: CROS implementation of the LIS2DW12 emulator compatible: "cros,lis2dw12-emul" -include: base.yaml +# TODO(b/239165779): Reduce or remove the usage of label properties +include: + - name: base.yaml + property-blocklist: + - label + properties: reg: required: true + label: + type: string + r...
BugID:18079757:[mqtt] fix support nested IOT_MQTT_Construct() with same params
@@ -2777,14 +2777,12 @@ int iotx_mc_handle_reconnect(iotx_mc_client_t *pClient) } if (NULL != pClient->mqtt_auth && SUCCESS_RETURN != pClient->mqtt_auth(pconn)) { mqtt_err("redo authentication error!"); - iotx_conn_info_release(); return -1; } rc = iotx_mc_update_connect_params(pClient, pconn); if (SUCCESS_RETURN != rc...
Bump version to 3.0.0 Also, remove extranous CONFIGURE_AC_CONTENTS
# SPDX-License-Identifier: BSD-3-Clause # Copyright (c) Contributors to the OpenEXR Project. -set(OPENEXR_VERSION_MAJOR 2) -set(OPENEXR_VERSION_MINOR 5) -set(OPENEXR_VERSION_PATCH 99) +set(OPENEXR_VERSION_MAJOR 3) +set(OPENEXR_VERSION_MINOR 0) +set(OPENEXR_VERSION_PATCH 0) set(OPENEXR_VERSION_EXTRA "" CACHE STRING "Ext...
scripts: do not suppress error
@@ -38,5 +38,5 @@ IFS="$(printf '\n+')" for line in $PATHS; do SOURCE="$(echo "$line" | cut -d '=' -f2)" TARGET="$(echo "$line" | cut -d '=' -f1)" - cp -a "${TMPDIR}/${SOURCE}" "${TARGET}" 2> /dev/null + cp -a "${TMPDIR}/${SOURCE}" "${TARGET}" done
Clean up file save name changing logic Now only changes file name on "Save as" if the save was successful.
@@ -2131,18 +2131,17 @@ void push_open_form(char const* initial) { qform_push_to_nav(qf); } -void try_save_with_msg(Field* field, Heapstr const* hstr) { +bool try_save_with_msg(Field* field, Heapstr const* hstr) { if (!heapstr_len(hstr)) - return; + return false; bool ok = hacky_try_save(field, hstr->str); - Qmsg* msg ...
build: Add clang-asan test
@@ -288,6 +288,12 @@ def generateFullBuildStages() { DOCKER_IMAGES.stretch, CMAKE_FLAGS_BUILD_ALL ) + tasks << buildAndTestAsan( + "debian-unstable-clang-asan", + DOCKER_IMAGES.stretch, + CMAKE_FLAGS_BUILD_ALL + + CMAKE_FLAGS_CLANG + ) tasks << buildAndTest( "debian-oldstable-full", DOCKER_IMAGES.jessie,
Draw Plugins: Fix incorrect order of arguments
@@ -37,8 +37,8 @@ echo "}" >> "$OUTPUT" echo >> "$OUTPUT" -unflatten "$OUTPUT" -o "${OUTPUT}.flatten" +unflatten -o "${OUTPUT}.flatten" "$OUTPUT" rm -f "$SOURCE/doc/images/plugins.pdf" -fdp -Tps "${OUTPUT}.flatten" -o "$SOURCE/doc/images/plugins.ps" && gs -dDEVICEWIDTHPOINTS=1454 -dDEVICEHEIGHTPOINTS=1012 -dPDFFitPage ...
Images: Use code fence for command
@@ -6,4 +6,6 @@ Rendered images and logos can be found in https://github.com/ElektraInitiative/b https://github.com/shakiba/svgexport +```sh svgexport circle_with_shadows_and_background.svg circle.png 400:400 +```
Remove sync_tools remnants from PR pipeline Commit removed sync_tools from the build system. This patch adjusts PR pipeline accordingly.
@@ -114,12 +114,6 @@ jobs: git submodule update --init --recursive inputs: [{ name: gpdb_pr }] outputs: [{ name: gpdb_src }] - - task: sync_tools_centos7 - file: gpdb_pr/concourse/tasks/sync_tools.yml - image: gpdb6-centos7-build - params: - TARGET_OS: centos - TARGET_OS_VERSION: 7 - task: compile_gpdb_centos7 file: gp...
Generate test paths for lib and lib64 subdirectories wildcard produces empty paths when 'make test' is run from a clean tree: install-<tag>-native directories don't exist yet.
@@ -257,15 +257,18 @@ rebuild-release: wipe-release build-release export VPP_PYTHON_PREFIX=$(BR)/python +libexpand = $(subst $(subst ,, ),:,$(foreach lib,$(1),$(BR)/install-$(2)-native/vpp/$(lib)/$(3))) + define test $(if $(filter-out $(3),retest),make -C $(BR) PLATFORM=$(1) TAG=$(2) vpp-install,) + $(eval libs:=lib li...
fixes Thanks Wangkuner for the notification.
@@ -86,13 +86,15 @@ set(${COMPONENT}_INTERFACE_INCLUDE_DIRECTORIES # ---- Final setup for the library ---- -# Windows stuff -include(WindowsNumericsSetup) # -- create/setup component target -- include(ComponentSetup) + create_siconos_component(${COMPONENT}) +# Windows stuff +include(WindowsNumericsSetup) + # --- Extra ...
baseboard/mtscp-rv32i/mdp.c: Format with clang-format BRANCH=none TEST=none
@@ -19,8 +19,8 @@ static void event_mdp_written(struct consumer const *consumer, size_t count) task_wake(TASK_ID_MDP_SERVICE); } static struct consumer const event_mdp_consumer; -static struct queue const event_mdp_queue = QUEUE_DIRECT(4, - struct mdp_msg_service, null_producer, event_mdp_consumer); +static struct queu...
vere: fixes %flog printing
@@ -366,14 +366,11 @@ _lord_plea_slog(u3_lord* god_u, u3_noun dat) static void _lord_plea_flog(u3_lord* god_u, u3_noun dat) { - u3_noun pri, tan; - c3_w pri_w; - if ( c3n == u3a_is_atom(dat) ) { return _lord_plea_foul(god_u, c3__slog, dat); } - c3_c* tan_c = u3r_string(tan); + c3_c* tan_c = u3r_string(dat); u3C.stderr_...