message
stringlengths
6
474
diff
stringlengths
8
5.22k
format & add clear tm_isdst
@@ -88,6 +88,8 @@ struct tm *gmtime_r(const time_t *timep, struct tm *r) ; r->tm_mon = i; r->tm_mday += work - __spm[i]; + + r->tm_isdst = 0; return r; } @@ -103,8 +105,8 @@ struct tm* localtime_r(const time_t* t, struct tm* r) time_t local_tz; int utc_plus; - utc_plus = 3600 * 0; /* GTM: UTC+0 */ - local_tz = *t + utc...
dbug: just use +dor for sorting +vor is literally just +dor.
:: :- 'snd' :- %a - %+ turn (sort ~(tap by snd) vor) :: sort by bone + %+ turn (sort ~(tap by snd) dor) :: sort by bone (cury snd-with-bone ossuary) :: :- 'rcv' :- %a - %+ turn (sort ~(tap by rcv) vor) :: sort by bone + %+ turn (sort ~(tap by rcv) dor) :: sort by bone (cury rcv-with-bone ossuary) :: :- 'nax' :- %a - %+...
Update older links to deprecated docs II
@@ -7,7 +7,7 @@ There are several methods of connecting map data from your CARTO account (via th - To use a map as **raster map tiles**, define the tile URL for `RasterTileLayer` - To apply **interactivity** (object click data), use UTFGrid. This uses both raster map tiles and json-based UTF tiles. UTFGrids are applica...
docs: add docs about clipspace configuration
@@ -35,6 +35,45 @@ have to compile cglm with **CGLM_ALL_UNALIGNED** macro. For instance if you set CGLM_ALL_UNALIGNED in a project then set it in other projects too + Clipspace Option[s] +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +By starting **v0.8.3** cglm provides options to ...
Update the molecule plot caption in the screen shots.
<?xml version="1.0" encoding="UTF-8" ?> <page> <title><![CDATA[VisIt Screen Shots]]></title> + <IM>LLNL-WEB-XXXXXX</IM> <owner><![CDATA[Page Owner Name]]></owner> - <lastchanged><![CDATA[March 19, 2013]]></lastchanged> + <lastchanged><![CDATA[September 9, 2019]]></lastchanged> <template><![CDATA[l2]]></template> <conte...
github: improve description of basics of PRs
## Basics -Check relevant points but **please do not remove entries**. -Do not describe the purpose of this PR in the PR description but: +These points need to be fulfilled for every PR: -- [ ] Short descriptions should be in the release notes (added as entry in - `doc/news/_preparation_next_release.md` which contains ...
Update README No Windows support in README
@@ -56,7 +56,7 @@ $ pip install pyccl For the PyPi installation, you will need ``CMake`` installed locally. See [Getting CMake](https://ccl.readthedocs.io/en/latest/source/installation.html#getting-cmake) -for instructions. +for instructions. Note that the code only supports Linux or Mac OS, but no Windows. Once you ha...
added function doc strings formatted as in the rest of the project
#define TMP_SOCK_FILENAME_TPL "owsock.XXXXXX" +// cf. rfc 4656, pg 6 struct _greeting { uint8_t Unused[12]; uint8_t Modes[4]; @@ -37,6 +38,7 @@ struct _greeting { uint8_t MBZ[12]; }; +// cf. rfc 4656, pg 7 struct _setup_response { uint8_t Mode[4]; uint8_t KeyID[80]; @@ -44,6 +46,7 @@ struct _setup_response { uint8_t Cl...
stm32/mpconfigport.h: Make "framebuf" module configurable by a board.
#define MICROPY_HW_SOFTSPI_MAX_BAUDRATE (HAL_RCC_GetSysClockFreq() / 48) #define MICROPY_PY_UWEBSOCKET (MICROPY_PY_LWIP) #define MICROPY_PY_WEBREPL (MICROPY_PY_LWIP) +#ifndef MICROPY_PY_FRAMEBUF #define MICROPY_PY_FRAMEBUF (1) +#endif #ifndef MICROPY_PY_USOCKET #define MICROPY_PY_USOCKET (1) #endif
[kernel] add display _num in SimpleMatrix
@@ -684,6 +684,7 @@ void SimpleMatrix::display() const { std::cout << "SimpleMatrix::display(): empty matrix" << std::endl; } + std::cout << "num = " << _num << "\t"; if (_num == 1) { Siconos::algebra::print_m(*mat.Dense);
Fix url_curl on MacOS * Fix url_curl on MacOS Fix libcurl can not read data from gpfdist on MacOS But gpfdist with a pipe can not work on macos as flock(2) which is used in gfile.c is not supported on MacOS.
@@ -676,14 +676,28 @@ fill_buffer(URL_CURL_FILE *curl, int want) e, curl_easy_strerror(e)); } - if (maxfd <= 0) + if (maxfd == 0) { elog(LOG, "curl_multi_fdset set maxfd = %d", maxfd); curl->still_running = 0; break; } + /* When libcurl returns -1 in max_fd, it is because libcurl currently does something + * that isn't...
Fixing windows bulid
@@ -44,7 +44,11 @@ foreach(testSrc ${TEST_SRCS}) add_executable(${testName} ${testSrc}) #link to Boost libraries AND your targets and dependencies + IF(MSVC) + target_link_libraries(${testName} ${Boost_LIBRARIES} epanet2 epanet-output) + ELSE(TRUE) target_link_libraries(${testName} ${Boost_LIBRARIES} pthread epanet2 ep...
Fix -3/4partitionindexlimit CLI options
@@ -918,7 +918,7 @@ static int edit_astcenc_config( return 1; } - config.tune_2partition_index_limit = atoi(argv[argidx - 1]); + config.tune_3partition_index_limit = atoi(argv[argidx - 1]); } else if (!strcmp(argv[argidx], "-4partitionindexlimit")) { @@ -929,7 +929,7 @@ static int edit_astcenc_config( return 1; } - con...
Update: also support old truth value format for Narsese compatibility with OpenNARS
@@ -397,14 +397,27 @@ void Narsese_Sentence(char *narsese, Term *destTerm, char *punctuation, int *ten assert(len < NARSESE_LEN_MAX, "Parsing error: Narsese string too long!"); //< because of '0' terminated strings memcpy(narseseInplace, narsese, len); //tv is present if last letter is '}' - if(len>=2 && narseseInplace...
Fixed syntax from that was not backwards compatible to Perl 5.10.
@@ -560,7 +560,9 @@ sub required { if (!defined(${$self->{oSectionRequired}}{$strChildPath})) { - &log(INFO, (' ' x (scalar(split('/', $strChildPath)) - 2)) . " require section: ${strChildPath}"); + my @stryChildPath = split('/', $strChildPath); + + &log(INFO, (' ' x (scalar(@stryChildPath) - 2)) . " require section: $...
Material textures must be sample-only; Tracking every material's texture would add a lot of overhead, probably
@@ -1858,6 +1858,8 @@ Material* lovrMaterialCreate(MaterialInfo* info) { lovrRetain(textures[i]); Texture* texture = textures[i] ? textures[i] : state.defaultTexture; lovrCheck(i == 0 || texture->info.type == TEXTURE_2D, "Material textures must be 2D"); + // The below is only to make resource tracking more efficient + ...
Make test_alloc_attribute_predefined_entity() robust vs allocation
@@ -9630,26 +9630,16 @@ START_TEST(test_alloc_attribute_predefined_entity) { const char *text = "<doc a='&amp;'></doc>"; int i; -#define MAX_ALLOC_COUNT 10 - int repeat = 0; +#define MAX_ALLOC_COUNT 15 for (i = 0; i < MAX_ALLOC_COUNT; i++) { - /* Repeat some counts to defeat cached allocations */ - if (i == 3 && repeat...
Remove call exit from 273759
@@ -20,7 +20,7 @@ program main write(6,*)"Success: if a diagnostic line starting with DEVID was output" ! Always return 1 to show failure in check_smoke_fails.sh. Once ! the depend clause is supported on map this can be reverted. - call exit(1) +! call exit(1) end subroutine foo(a,b,c) parameter (nsize=1000)
Add missing MFC to function arguments
@@ -1385,7 +1385,7 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse & { bool data = map[pi.key()].toBool(); - if (addTaskThermostatReadWriteAttribute(task, deCONZ::ZclWriteAttributesId, 0x0412, deCONZ::ZclBoolean, data)) + if (addTaskThermostatReadWriteAttribute(task, deCONZ::ZclWriteAt...
boards/NICLAV: Enable MicroSpeech module.
@@ -22,7 +22,7 @@ MICROPY_PY_NETWORK_CYW43 = 1 MICROPY_PY_BLUETOOTH = 1 MICROPY_BLUETOOTH_NIMBLE = 1 MICROPY_PY_AUDIO = 1 -MICROPY_PY_MICRO_SPEECH = 0 +MICROPY_PY_MICRO_SPEECH = 1 MICROPY_PY_LCD = 1 MICROPY_PY_TV = 1 MICROPY_PY_BUZZER = 0
proc: fix adding newly created thread to threads_common.id tree New thread is added in thread_alloc() JIRA:
@@ -812,52 +812,41 @@ int proc_threadCreate(process_t *process, void (*start)(void *), unsigned int *i t->execdata = NULL; t->wait = NULL; t->locks = NULL; - - thread_alloc(t); - - if (id != NULL) - *id = t->id; - t->stick = 0; t->utick = 0; t->priorityBase = priority; t->priority = priority; - - if (process != NULL) {...
Label changed for global backup
"adminUI-ClusterActions-no-report": "No report found", "adminUI-ClusterActions-restart-in-progress": "A restart is in progress, the Datafari admin system is up, but the Datafari administration actions are disabled for safety.", "adminUI-ClusterActions-unexpected-error": "The admin interface cannot reach the Datafari se...
Added flags to Coverage build type to catch build warnings.
@@ -33,7 +33,7 @@ if(NOT GCOV_EXECUTABLE) message(FATAL_ERROR "gcov not found! Aborting...") endif() -set(GCOV_COMPILE_FLAGS "-g -O0 --coverage -fprofile-arcs -ftest-coverage") +set(GCOV_COMPILE_FLAGS "-g -O0 --coverage -fprofile-arcs -ftest-coverage -Wall -Wextra -Werror") set(GCOV_LINK_FLAGS "-lgcov") set(CMAKE_CXX_F...
plugins types BUGFIX avoid shifting negative values Refs
@@ -222,8 +222,8 @@ bits_bitmap2items(const char *bitmap, struct lysc_type_bits *type, struct lysc_t { size_t i, bitmap_size = lyplg_type_bits_bitmap_size(type); uint32_t bit_pos; - char bitmask; - const char *byte; + uint8_t bitmask; + const uint8_t *byte; bit_pos = 0; for (i = 0; i < bitmap_size; ++i) {
const nexthop-var. to fix warning when using RPL classic+ack
@@ -1334,7 +1334,7 @@ dao_ack_input(void) } else if(RPL_IS_STORING(instance)) { /* this DAO ACK should be forwarded to another recently registered route */ uip_ds6_route_t *re; - uip_ipaddr_t *nexthop; + const uip_ipaddr_t *nexthop; if((re = find_route_entry_by_dao_ack(sequence)) != NULL) { /* pick the recorded seq no ...
decisions: clarify rationale for notes
@@ -96,5 +96,6 @@ If particular information is important and not present in any sections above, pl Any discarded, incomplete and unexplored ideas/opinions, which are not complete enough to be "Considered Alternatives", can be written here. For example, if it is obvious that the idea does not even solve the problem. +Un...
change settorque function
@@ -54,8 +54,7 @@ bool Turtlebot3MotorDriver::init(void) } // Enable Dynamixel Torque - setTorque(left_wheel_id_, true); - setTorque(right_wheel_id_, true); + setTorque(true); groupSyncWriteVelocity_ = new dynamixel::GroupSyncWrite(portHandler_, packetHandler_, ADDR_X_GOAL_VELOCITY, LEN_X_GOAL_VELOCITY); groupSyncReadE...
Update BUILD.md Update the macOS section. PR <https://github.com/Genymobile/scrcpy/pull/1559>
@@ -176,8 +176,8 @@ Additionally, if you want to build the server, install Java 8 from Caskroom, and make it avaliable from the `PATH`: ```bash -brew tap caskroom/versions -brew cask install java8 +brew tap homebrew/cask-versions +brew cask install adoptopenjdk/openjdk/adoptopenjdk8 export JAVA_HOME="$(/usr/libexec/jav...
Do not send work until login is complete. Fixes
@@ -230,7 +230,7 @@ namespace MiningCore.Blockchain.Ethereum { var context = client.GetContextAs<EthereumWorkerContext>(); - if (context.IsSubscribed && context.IsAuthorized) + if (context.IsSubscribed && context.IsAuthorized && context.IsInitialWorkSent) { // check alive var lastActivityAgo = clock.Now - context.LastA...
Testing: Fix broken Windows build
@@ -2715,7 +2715,7 @@ int main(int argc, char* argv[]) { size_t len, slen; grib_handle* h = NULL; - const char* packingType[] = { "grid_second_order", "grid_complex_spatial_differencing", "grid_complex", "grid_ccsds" }; + const char* packingType[] = { "grid_second_order", "grid_complex_spatial_differencing", "grid_comp...
Properly set DEX string size
@@ -775,8 +775,8 @@ void dex_parse( "string_ids[%i].offset", i); set_integer( - yr_le32toh(string_id_item->string_data_offset), dex->object, - "string_ids[%i].size", value); + value, dex->object, + "string_ids[%i].size", i); set_sized_string( (const char*) ((dex->data + yr_le32toh(string_id_item->string_data_offset) + ...
Minor bug solved in tag of node load from file (port).
@@ -116,7 +116,7 @@ napi_value node_loader_port_load_from_file(napi_env env, napi_callback_info info tag = new char[tag_length + 1]; - napi_get_value_string_utf8(env, argv[0], tag, tag_length, &tag_length); + napi_get_value_string_utf8(env, argv[0], tag, tag_length + 1, &tag_length); tag[tag_length] = '\0'; @@ -139,7 +...
zephyr/shim/chip/mchp/system.c: Format with clang-format BRANCH=none TEST=none
LOG_MODULE_REGISTER(shim_xec_system, LOG_LEVEL_ERR); -#define GET_BBRAM_OFS(node) \ - DT_PROP(DT_PATH(named_bbram_regions, node), offset) +#define GET_BBRAM_OFS(node) DT_PROP(DT_PATH(named_bbram_regions, node), offset) #define GET_BBRAM_SZ(node) DT_PROP(DT_PATH(named_bbram_regions, node), size) /*
Dockerfile: add gdb
@@ -5,7 +5,7 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends \ build-essential doxygen git wget unzip python-serial python-pip \ default-jdk ant srecord iputils-tracepath rlwrap \ - mosquitto mosquitto-clients \ + mosquitto mosquitto-clients gdb \ && apt-get clean # Install ARM toolchain
dm: allow PM1_RTC_EN to be written to PM1A Clear Linux complains about not being able to write the bit to PM1A: ACPI Error: Could not enable RealTimeClock event (20180531/evxfevnt-184)
@@ -200,7 +200,7 @@ pm1_enable_handler(struct vmctx *ctx, int vcpu, int in, int port, int bytes, * the global lock, but ACPI-CA whines profusely if it * can't set GBL_EN. */ - pm1_enable = *eax & (PM1_PWRBTN_EN | PM1_GBL_EN); + pm1_enable = *eax & (PM1_RTC_EN | PM1_PWRBTN_EN | PM1_GBL_EN); sci_update(ctx); } pthread_mu...
Separate optional linker libraries from core linker libraries
@@ -25,6 +25,7 @@ TMP_ROOT=tmp ### Compiler & Linker flags # any librries required (only names, ommit the "-l" at the begining) LINKER_LIBS=pthread m +LINKER_LIBS_EXT= # optimization level. OPTIMIZATION=-O2 -march=native # Warnings... i.e. -Wpedantic -Weverything -Wno-format-pedantic @@ -102,18 +103,18 @@ INCLUDE_STR =...
docs + mustache API improvements
@@ -255,20 +255,63 @@ Loading the template ***************************************************************************** */ /** -Loads a mustache template (and any partials). +Loads the mustache template found in `:filename`. If `:template` is provided it +will be used instead of reading the file's content. + + Iodine:...
Old_path may be NULL
@@ -804,7 +804,7 @@ int picoquic_retransmit_needed(picoquic_cnx_t* cnx, picoquic_path_t * old_path = p->send_path; /* we'll report it where it got lost */ - old_path->retrans_count++; + if (old_path) old_path->retrans_count++; *header_length = 0;
Increase precision of timer events
@@ -10,9 +10,9 @@ const fields = [ key: "duration", type: "number", label: l10n("FIELD_TIMER_DURATION"), - min: 0.25, + min: 0.01, max: 60, - step: 0.25, + step: 0.01, defaultValue: 10.0, }, {
addition removed According to this [documentation](https://dresden-elektronik.github.io/deconz-rest-doc/devices/philips/sml001_motion_sensor/#state-attributes_1) for `lightlevel` the addition of 0,5 is not correct
@@ -6,7 +6,7 @@ R.item('state/dark').val = measuredValue <= tholddark; R.item('state/daylight').val = measuredValue >= tholddark + tholdoffset; if (measuredValue >= 0 && measuredValue < 0xffff) { const exp = measuredValue - 1; - const l = Math.pow(10, exp / 10000.0) + 0.5; + const l = Math.pow(10, exp / 10000.0); R.ite...
remove cell only when it exist.
@@ -557,12 +557,14 @@ void neighbors_setPreferredParent(uint8_t index, bool isPreferred){ } else { // the neighbor is de-selected as parent // remove the autonomous cell to this neighbor + if (schedule_hasDedicatedCellToNeighbor(&(neighbors_vars.neighbors[index].addr_64b))){ schedule_removeActiveSlot( slotoffset, // sl...
Add Agent to data.yml
@@ -4921,7 +4921,9 @@ classes: Client::UI::Agent::AgentGatheringNote: vtbls: - ea: 0x141997360 - base: Client::UI::Agent::AgentInterface + base: Client::UI::Agent::AgentGatheringNote + funcs: + 0x1409B47C0: OpenGatherableByItemId Client::UI::Agent::AgentMcguffin: vtbls: - ea: 0x14199BF18
khan: saner tic rollover, remove our
?>(?=([@ ~] s.beam) beam(s i.s.beam)) :: ++ start-spider - |= [our=@p =vase] + |= =vase ^- note [%g %deal [our our] %spider %poke %spider-start vase] :: ++ watch-spider - |= [our=@p =path] + |= =path ^- note [%g %deal [our our] %spider %watch path] -- ~|(%khan-call-dud (mean tang.u.dud)) ?+ -.task [~ khan-gate] %born -...
Comment in DCT4 allowed length
* Note that the implementation of Inverse DCT4 and DCT4 is same, hence same process function can be used for both. * * \par Lengths supported by the transform: - * As DCT4 internally uses Real FFT, it supports all the lengths supported by arm_rfft_f32(). + * As DCT4 internally uses Real FFT, it supports all the lengths...
Increase the draft iteration to avoid binary compatibility issues with older preset discovery plugins
// Use it to retrieve const clap_preset_discovery_factory_t* from // clap_plugin_entry.get_factory() static const CLAP_CONSTEXPR char CLAP_PRESET_DISCOVERY_FACTORY_ID[] = - "clap.preset-discovery-factory/draft-0"; + "clap.preset-discovery-factory/draft-1"; #ifdef __cplusplus extern "C" {
Fix _arg argument not being cast to correct type Also change to TEST_EQUAL, as this is now possible.
@@ -3685,6 +3685,7 @@ void aead_multipart_generate_nonce( int key_type_arg, data_t *key_data, uint8_t nonce_buffer[PSA_AEAD_NONCE_MAX_SIZE]; psa_key_attributes_t attributes = PSA_KEY_ATTRIBUTES_INIT; psa_status_t status = PSA_ERROR_GENERIC_ERROR; + psa_status_t expected_status = expected_status_arg; size_t nonce_genera...
Add CMake build instructions
@@ -94,6 +94,22 @@ With this one function call: `VmaAllocation` is an object that represents memory assigned to this buffer. It can be queried for parameters like Vulkan memory handle and offset. +# How to build + +On Windows it is recommended to use [CMake UI](https://cmake.org/runningcmake/). Alternatively you can ge...
Relocate callback so there's only one of them.
@@ -47,7 +47,6 @@ namespace blit { if (t->state == Timer::RUNNING){ if (time > (t->started + t->duration)) { // timer triggered if(t->loops == -1){ - t->callback(*t); t->started = time; // reset the start time correcting for any error } else @@ -57,8 +56,8 @@ namespace blit { if (t->loops == 0){ t->state = Timer::FINIS...
extmod/modlwip: Don't require a port to define concurrency macros.
#define ip_reset_option(pcb, opt) ((pcb)->so_options &= ~(opt)) #endif +// A port can define these hooks to provide concurrency protection +#ifndef MICROPY_PY_LWIP_ENTER +#define MICROPY_PY_LWIP_ENTER +#define MICROPY_PY_LWIP_REENTER +#define MICROPY_PY_LWIP_EXIT +#endif + #ifdef MICROPY_PY_LWIP_SLIP #include "netif/sl...
dpdk: postpone updating runtime data This prevents crash due to worker tread accessing device data while device vector is growing. Type: fix
@@ -552,7 +552,6 @@ dpdk_lib_init (dpdk_main_t * dm) vnm, xd->hw_if_index, q, VNET_HW_IF_RXQ_THREAD_ANY); } - vnet_hw_if_update_runtime_data (vnm, xd->hw_if_index); /*Get vnet hardware interface */ hi = vnet_get_hw_interface (vnm, xd->hw_if_index); @@ -597,6 +596,9 @@ dpdk_lib_init (dpdk_main_t * dm) format_dpdk_device...
Fix ruby interface
@@ -92,7 +92,7 @@ VALUE method_find_primitive(VALUE self, VALUE r_symprec, VALUE r_angle_symprec) { - int i, j, k, num_atom, num_prim_atom; + int i, j, num_atom, num_prim_atom; double symprec, lattice[3][3]; VALUE array, vector, lat_ary, pos_ary, typ_ary; @@ -318,7 +318,7 @@ VALUE method_get_symmetry(VALUE self, } } - ...
Add missing lovr.filesystem.unmount function;
@@ -349,6 +349,7 @@ static const luaL_Reg lovrFilesystem[] = { { "remove", l_lovrFilesystemRemove }, { "setRequirePath", l_lovrFilesystemSetRequirePath }, { "setIdentity", l_lovrFilesystemSetIdentity }, + { "unmount", l_lovrFilesystemUnmount }, { "write", l_lovrFilesystemWrite }, { NULL, NULL } };
docs: charliecloud typo borking recipe
@@ -12,6 +12,6 @@ Preview, so it must be manually enabled with kernel arguments. [sms](*\#*) wwsh -y provision set "${compute_regex}" --kargs=namespace.unpriv_enable=1 # Increase per-user limit on the number of user namespaces that may be created -[sms](*\#*) echo "user.max_user_namespaces=15076" >> $CHROOT/etc/sysctl....
rune: support SGX in-tree driver FIXES:
@@ -150,7 +150,7 @@ func genEnclaveDeviceTemplate(etype string) []*configs.Device { return []*configs.Device{ &configs.Device{ Type: 'c', - Path: "/dev/isgx", + Path: "/dev/sgx_enclave", Major: 10, }, &configs.Device{ @@ -158,6 +158,11 @@ func genEnclaveDeviceTemplate(etype string) []*configs.Device { Path: "/dev/sgx/e...
Remove TLS 1.2 exception about EC J-PAKE and PSA Crypto
@@ -86,7 +86,6 @@ is enabled, no change required on the application side. Current exceptions: -- EC J-PAKE (when `MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED` is defined) - finite-field (non-EC) Diffie-Hellman (used in key exchanges: DHE-RSA, DHE-PSK)
note OpenBSD accept4.
23 May 2018: Wouter - Use accept4 to speed up incoming TCP (and TLS) connections, - available on Linux and FreeBSD and OpenBSD. + available on Linux, FreeBSD and OpenBSD. 17 May 2018: Ralph - Qname minimisation default changed to yes.
make title in release notes more in-line with existing plugins
@@ -65,7 +65,7 @@ The following section lists news about the [plugins](https://www.libelektra.org/ - <<TODO>> - <<TODO>> -### Uname Plugin +### uname - Minor improvement of source code readability in uname.c _(@lawli3t)_
kdb: sort result of plugin-list alphabetically see
@@ -45,7 +45,7 @@ int PluginListCommand::execute (Cmdline const & cl) plugins = db.listAllPlugins (); } - std::multimap<int, std::string> sortedPlugins; + std::multimap<int, std::string> statusPlugins; for (const auto & plugin : plugins) { try @@ -56,11 +56,11 @@ int PluginListCommand::execute (Cmdline const & cl) *Key...
gpstate: Avoid logging ERROR if no expansion is in progress Resolves
@@ -1220,9 +1220,16 @@ class _GpExpandStatus(object): SELECT status FROM gpexpand.status ORDER BY updated DESC LIMIT 1 ''' + status_table_exists_sql = """ + SELECT CASE WHEN to_regclass('gpexpand.status') IS NOT NULL THEN 1 ELSE 0 END + """ + try: dburl = dbconn.DbURL(dbname=self.dbname) with dbconn.connect(dburl, enco...
join: making sure group is in state and retaining join request state
@@ -9,11 +9,11 @@ import { ContinuousProgressBar, } from '@tlon/indigo-react'; import { Formik, Form } from 'formik'; -import React, { useEffect } from 'react'; +import React, { useEffect, useState } from 'react'; import { useHistory, useLocation } from 'react-router-dom'; import useGroupState from '~/logic/state/group...
remove non workable links
# Current state of Rhomobile solution -Currently Rhomobile solution supported and improved by TAU Technologies Inc (partner of Zebra Technologies). +Currently Rhomobile solution supported and improved by TAU Technologies. For questions on commercial support contact [contact mail](mailto:info@tau-platform.com) or reach ...
bugID:20124278:[ble] Add public address API.
@@ -379,6 +379,29 @@ static int set_random_address(const bt_addr_t *addr) return 0; } +//set pub address with ext vs cmd +static int set_public_address(const bt_addr_t *addr) +{ + struct net_buf *buf; + int err; + + BT_DBG("%s", bt_addr_str(addr)); + + buf = bt_hci_cmd_create(BT_HCI_OP_VS_WRITE_BD_ADDR, sizeof(*addr));...
Compilation flag changes for Android, tweak options to reduce binary size. Resulting SDK binaries are about 20% smaller now.
@@ -66,14 +66,9 @@ endif(IOS) if(ANDROID) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -ftemplate-depth=1024 -fexceptions -frtti -fvisibility=hidden -fvisibility-inlines-hidden") - set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Os -flto=full -fomit-f...
odissey: add empty line during users log
@@ -293,6 +293,7 @@ void od_schemeprint(od_scheme_t *scheme, od_log_t *log) od_log(log, NULL, " pool_max %d", route->pool_max); } if (! od_listempty(&scheme->users)) { + od_log(log, NULL, ""); od_log(log, NULL, "users"); od_listforeach(&scheme->users, i) { od_schemeuser_t *user;
mm: Remove the unused macro MM_IS_ALLOCATED
# define MMSIZE_MAX UINT32_MAX #endif -#define MM_IS_ALLOCATED(n) \ - ((int)((FAR struct mm_allocnode_s *)(n)->preceding) < 0) - /* What is the size of the allocnode? */ #define SIZEOF_MM_ALLOCNODE sizeof(struct mm_allocnode_s)
Add timed delay before reading VCO comparators
using namespace std; #include <chrono> #include <thread> +#else +#include "lms7002_regx51.h" //MCU timer sfr +uint16_t gComparatorDelayCounter = 0xFF00; // ~100us @ ref 30.72MHz #endif #define VERBOSE 0 @@ -269,25 +272,22 @@ uint8_t SetFrequencySX(const bool tx, const float_type freq_Hz) return MCU_NO_ERROR; } -static ...
phb4: Mark PHB as fenced on creset If we have to inject an error to trigger recover, we end up not marking the PHB as fenced in the PHB struct. This fixes that.
@@ -2631,7 +2631,7 @@ static int64_t phb4_creset(struct pci_slot *slot) * Force use of ASB for register access until the PHB has * been fully reset. */ - p->flags |= PHB4_CFG_USE_ASB; + p->flags |= PHB4_CFG_USE_ASB | PHB4_AIB_FENCED; /* Clear errors, following the proper sequence */ phb4_err_clear(p);
fix(font): ids pointer is not freed
@@ -310,8 +310,7 @@ size_t LCUIFont_UpdateWeight(const int *font_ids, LCUI_FontWeight weight, if (!font_ids) { return 0; } - for (len = 0; font_ids[len]; ++len) - ; + for (len = 0; font_ids[len]; ++len); if (len < 1) { return 0; } @@ -945,6 +944,7 @@ static void LCUIFont_LoadFontsByFontConfig(void) if (i > 0) { LCUIFon...
Fix container repository for SPO container build A previous change introduced the wrong repository, which lead to authorization issues when trying to push the image. This fixes that.
@@ -77,7 +77,7 @@ jobs: uses: docker/metadata-action@v4 with: images: | - quay.io/security-profiles-operator/security-profiles-operator + quay.io/security-profiles-operator/build tags: | type=ref,event=branch type=ref,event=pr @@ -124,7 +124,7 @@ jobs: uses: docker/metadata-action@69f6fc9d46f2f8bf0d5491e4aabe0bb8c6a467...
[io] installation of the correct file siconos_pprocess
@@ -55,7 +55,7 @@ if(HAVE_SICONOS_MECHANICS) install(PROGRAMS ${SICONOS_SWIG_ROOT_DIR}/io/siconos_filter DESTINATION bin) install(PROGRAMS ${SICONOS_SWIG_ROOT_DIR}/io/siconos_run DESTINATION bin) if (WITH_MECHANISMS) - install(PROGRAMS ${SICONOS_SWIG_ROOT_DIR}/io/pprocess.py DESTINATION bin RENAME siconos_pprocess) + i...
test_train_on_quantized_pool_with_large_grid: Run fit on GPU properly using fit_catboost_gpu. Note: mandatory check (NEED_CHECK) was skipped
@@ -2229,14 +2229,13 @@ def test_train_on_quantized_pool_with_large_grid(): # borders # # There are 20 rows in a dataset. - cmd = ( - CATBOOST_PATH, 'fit', - '--task-type', 'GPU', - '-f', 'quantized://' + data_file('quantized_with_large_grid', 'train.qbin'), - '-t', 'quantized://' + data_file('quantized_with_large_grid...
[Components][USB][ECM] fix build error
@@ -419,12 +419,12 @@ rt_err_t rt_ecm_eth_tx(rt_device_t dev, struct pbuf* p) p->tot_len = USB_ETH_MTU; } - result = rt_sem_take(&device->tx_buffer_free, rt_tick_from_millisecond(1000)); + result = rt_sem_take(&ecm_eth_dev->tx_buffer_free, rt_tick_from_millisecond(1000)); if(result != RT_EOK) { LOG_W("wait for buffer f...
Constants: Require `noresolver` plugin for test
@@ -6,4 +6,4 @@ if (DEPENDENCY_PHASE) configure_file (constants.c.in ${CMAKE_CURRENT_BINARY_DIR}/constants.c) endif () -add_plugin (constants SOURCES ${CMAKE_CURRENT_BINARY_DIR}/constants.c TEST_README) +add_plugin (constants SOURCES ${CMAKE_CURRENT_BINARY_DIR}/constants.c TEST_README TEST_REQUIRED_PLUGINS noresolver)
http_client: fix handling of remote broken connections
@@ -622,6 +622,7 @@ int flb_http_do(struct flb_http_client *c, size_t *bytes) } /* Always append a NULL byte */ + if (r_bytes >= 0) { c->resp.data_len += r_bytes; c->resp.data[c->resp.data_len] = '\0'; @@ -636,6 +637,12 @@ int flb_http_do(struct flb_http_client *c, size_t *bytes) continue; } } + else { + flb_error("[ht...
Faster lores flip
@@ -116,8 +116,8 @@ void blit_tick() { blit::render(blit::now()); // debug cycle count for flip - //blit::fb.pen(rgba(255, 255, 255)); - //blit::fb.text(std::to_string(flip_cycle_count), &minimal_font[0][0], point(10, 20)); + blit::fb.pen(rgba(255, 255, 255)); + blit::fb.text(std::to_string(flip_cycle_count), &minimal_...
Fix static build issues caused by yangobj set_target_properties call.
@@ -272,10 +272,11 @@ else() #link dl target_link_libraries(yang ${CMAKE_DL_LIBS}) + + set_target_properties(yangobj PROPERTIES COMPILE_FLAGS "-fvisibility=hidden") endif(ENABLE_STATIC) set_target_properties(yang PROPERTIES VERSION ${LIBYANG_SOVERSION_FULL} SOVERSION ${LIBYANG_SOVERSION}) -set_target_properties(yangobj...
Add safeguards for sufficient BUFFER_SIZE
@@ -87,6 +87,30 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #endif #endif +/* Memory buffer must fit two matrix subblocks of maximal size */ +#define XSTR(x) STR(x) +#define STR(x) #x +#if BUFFER_SIZE < (SGEMM_DEFAULT_P * SGEMM_DEFAULT_Q * 4 * 2) || \ + BUFFER_SIZE < (SGEMM_DEFAULT_P * S...
tools: remove hissistats count max value checking hissistats tool prints N/A if READ REG fails removed hissistats READ REG counter boundary checking, example value_lsb >= 0xfffffff1 and value_msb >= 0xfffffff1
@@ -39,8 +39,6 @@ from ethernet.hssicommon import * # Sleep 50 milliseconds after clearing stats. HSSI_STATS_CLEAR_SLEEP_TIME = 50/1000 -# Invalid hssi stats value -HSSI_INAVLID_STATS = 0xfffffff1 class FPGAHSSISTATS(HSSICOMMON): @@ -132,7 +130,7 @@ class FPGAHSSISTATS(HSSICOMMON): ctl_addr.value = self.register_field_...
npu2: hw-procedures: Update PHY DC calibration procedure Per the updated programming guide (procedure 1.2.4), set rx_pr_edge_track_cntl and rx_pr_fw_off appropriately before and after calibration.
@@ -59,6 +59,8 @@ struct npu2_phy_reg NPU2_PHY_TX_UNLOAD_CLK_DISABLE = {0x103, 56, 1}; struct npu2_phy_reg NPU2_PHY_TX_FIFO_INIT = {0x105, 53, 1}; struct npu2_phy_reg NPU2_PHY_TX_RXCAL = {0x103, 57, 1}; struct npu2_phy_reg NPU2_PHY_RX_INIT_DONE = {0x0ca, 48, 1}; +struct npu2_phy_reg NPU2_PHY_RX_PR_EDGE_TRACK_CNTL = {0x...
bootloader: suppress -Wstringop-overflow
@@ -157,7 +157,11 @@ static void update_rtc_retain_mem_crc(void) void bootloader_common_reset_rtc_retain_mem(void) { + #pragma GCC diagnostic push + #pragma GCC diagnostic ignored "-Wstringop-overflow" + #pragma GCC diagnostic ignored "-Warray-bounds" memset(rtc_retain_mem, 0, sizeof(rtc_retain_mem_t)); + #pragma GCC d...
Renamed command line option --no-daemonize to --no-daemon.
@@ -919,7 +919,7 @@ nxt_runtime_conf_read_cmd(nxt_task_t *task, nxt_runtime_t *rt) continue; } - if (nxt_strcmp(p, "--no-daemonize") == 0) { + if (nxt_strcmp(p, "--no-daemon") == 0) { rt->daemon = 0; continue; }
details.txt: change DAPLink URL to daplink.io.
@@ -527,7 +527,7 @@ static uint32_t update_details_txt_file(uint8_t *buf, uint32_t size, uint32_t st uint32_t pos = 0; pos += util_write_string_in_region(buf, size, start, pos, - "# DAPLink Firmware - see https://mbed.com/daplink\r\n" + "# DAPLink Firmware - see https://daplink.io/\r\n" // Build ID "Build ID: " GIT_DES...
[core] perf: reuse buffer to redirect to directory
int http_response_redirect_to_directory(server *srv, connection *con) { - buffer *o; - - o = buffer_init(); - + buffer *o = srv->tmp_buf; buffer_copy_buffer(o, con->uri.scheme); buffer_append_string_len(o, CONST_STR_LEN("://")); if (!buffer_string_is_empty(con->uri.authority)) { @@ -77,9 +74,6 @@ int http_response_redi...
feat: compile reddit source code
@@ -11,6 +11,7 @@ ORKA_SRC := $(wildcard orka-*.c) DISCORD_SRC := $(wildcard discord-*.c) SLACK_SRC := $(wildcard slack-*.c) GITHUB_SRC := $(wildcard github-*.c) +REDDIT_SRC := $(wildcard reddit-*.c) SPECS := $(sort $(wildcard specs/*.json)) DB_SRC := $(wildcard sqlite3/*.c) JSB_SRC := $(wildcard jsB/*.c) @@ -31,10 +32...
Initialize return variable to the appropriate error code The return variable is initilized to make the code more robust against glitch attacks.
@@ -223,7 +223,8 @@ int mbedtls_pkcs5_pbkdf2_hmac( mbedtls_md_context_t *ctx, unsigned int iteration_count, uint32_t key_length, unsigned char *output ) { - int ret = 0, j; + int ret = MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED; + int j; unsigned int i; unsigned char md1[MBEDTLS_MD_MAX_SIZE]; unsigned char work[MBEDTLS_MD_M...
sysdeps/linux: implement sys_getgroups
@@ -779,6 +779,14 @@ int sys_getpgid(pid_t pid, pid_t *out) { return 0; } +int sys_getgroups(size_t size, const gid_t *list, int *retval) { + auto ret = do_syscall(NR_getgroups, size, list); + if (int e = sc_error(ret); e) + return e; + *retval = sc_int_result<int>(ret); + return 0; +} + int sys_dup(int fd, int flags, ...
Update the RAC spec re version and empty chunks
@@ -323,6 +323,8 @@ Branch Node`s pointing to each source RAC file's `Root Node`. ### Version `Version` must have the value `0x01`, indicating version 1 of the RAC format. +The `0x00` value is reserved, although future editions may use other positive +values. ### Codec @@ -365,10 +367,11 @@ parsing a `CFile` requires k...
key zeroization fix for a branch path of tls13_final_finish_mac
@@ -271,6 +271,7 @@ size_t tls13_final_finish_mac(SSL *s, const char *str, size_t slen, key = EVP_PKEY_new_raw_private_key(EVP_PKEY_HMAC, NULL, finsecret, hashlen); + OPENSSL_cleanse(finsecret, sizeof(finsecret)); } if (key == NULL
Remove -Wmisleading-indentation from gcc devteam warning options because this one is enabled by default anyways
@@ -1476,7 +1476,6 @@ if ($strict_warnings) die "ERROR --strict-warnings requires gcc[>=4] or gcc-alike" unless $gccver >= 4; - $gcc_devteam_warn .= " -Wmisleading-indentation" if $gccver >= 6; foreach $wopt (split /\s+/, $gcc_devteam_warn) { push @{$config{cflags}}, $wopt
king: fix zig-zag in stderr logging
@@ -29,6 +29,7 @@ where import Urbit.King.Config import Urbit.Prelude +import RIO (logGeneric) import System.Directory ( createDirectoryIfMissing , getXdgDirectory , XdgDirectory(XdgCache) @@ -88,7 +89,9 @@ runKingEnvStderr verb lvl inner = do <&> setLogUseTime True <&> setLogUseLoc False <&> setLogMinLevel lvl - withL...
Updated error messages and added missing arguments
@@ -1372,7 +1372,8 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse & } else { - rsp.list.append(errorToMap(ERR_ACTION_ERROR, QString("/sensors/%1/config/locked"), QString("Could not set attribute"))); + rsp.list.append(errorToMap(ERR_ACTION_ERROR, QString("/sensors/%1/config/%2").arg(i...
misc: configurator: Remove acrn config files when selecting a working folder Instead of removing all .xml and .sh files, just remove: *.board.xml scenario.xml launch*.sh
@@ -72,11 +72,12 @@ export default { .then((r) => { if (r) { for (let i = 0; i < files.length; i++) { - console.log("file: ", files[i].path) - let arr = files[i].path.split('.') - let suffix = arr[arr.length - 1] - console.log("suffix:", suffix) - if (suffix == 'sh' || suffix == 'xml') { + let arr = files[i].path.split...
Add Windows tests in GitHub actions See: TODO: MinGW/cygwin tests
@@ -63,3 +63,27 @@ jobs: - name: Run tests run: $GITHUB_WORKSPACE/test.sh + + windows: + runs-on: windows-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + repository: ${{ env.GITHUB_REPOSITORY }} + ref: ${{ env.GITHUB_HEAD_REF }} + + - name: Install dependencies + run: | + choco install -y ...
Get the outstream while holding the stcb send lock
@@ -6915,7 +6915,6 @@ sctp_msg_append(struct sctp_tcb *stcb, error = EINVAL; goto out_now; } - strm = &stcb->asoc.strmout[srcv->sinfo_stream]; /* Now can we send this? */ if ((SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_SENT) || (SCTP_GET_STATE(stcb) == SCTP_STATE_SHUTDOWN_ACK_SENT) || @@ -6973,6 +6972,7 @@ sctp_msg_ap...
APPS: Prevent ASAN hickup on idempotent strncpy() in opt_progname()
@@ -105,6 +105,7 @@ char *opt_progname(const char *argv0) /* Find last special character sys:[foo.bar]openssl */ p = opt_path_end(argv0); q = strrchr(p, '.'); + if (prog != p) strncpy(prog, p, sizeof(prog) - 1); prog[sizeof(prog) - 1] = '\0'; if (q != NULL && q - p < sizeof(prog)) @@ -132,6 +133,7 @@ char *opt_progname...
[ctr/lua] add error checking at event
@@ -210,7 +210,6 @@ static int moduleSend(lua_State *L) static int moduleBalance(lua_State *L) { char *contract; - int ret; int *service = (int *)getLuaExecContext(L); lua_Integer amount; @@ -223,7 +222,7 @@ static int moduleBalance(lua_State *L) else { contract = (char *)luaL_checkstring(L, 1); } - if ((ret = LuaGetBa...
use generic hwloc-libs instead
@@ -157,11 +157,7 @@ Conflicts: pbs-cmds Requires: expat Requires: python >= 2.6 Requires: python < 3.0 -%if %{defined suse_version} -Requires: libhwloc5 -%else Requires: hwloc-libs -%endif Autoreq: 1 %description -n %{pname}-%{pbs_execution}%{PROJ_DELIM}
Yan LR: Add missing Doxygen attribute
@@ -33,6 +33,8 @@ namespace * `line`, where the parsing process failed. * @param prefix This variable stores as prefix that this function prepends * to every line of the visualized error message. + * + * @return A string representation of the error */ string visualizeError (Recognizer * recognizer, Token * offendingSym...
Typo , the same
@@ -2606,7 +2606,7 @@ void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node) lightNode.setModelId(QLatin1String("T10W1ZW switch")); lightNode.setNeedSaveDatabase(true); } - else if (lightNode.modelId() == QLatin1String("82c167c95ed756cdbd21d6817f72c593")) + else if (lightNode.modelId() == QLatin1String("82c16...
fix msvc 14.12 compilation
@@ -1000,7 +1000,8 @@ THashMap<ui32, TString> NCB::MergeCatFeaturesHashToString(const NCB::TObjectsDat const auto& perFeatureCatFeaturesHashToString = objectsData.GetCatFeaturesHashToString(catFeatureIdx); for (const auto& [hashedCatValue, catValueString] : perFeatureCatFeaturesHashToString) { - result[hashedCatValue] ...