message
stringlengths
6
474
diff
stringlengths
8
5.22k
autoprop: include desk name in install prop meta
++ install |= [as=desk =beak pri=?] ^- prop - :^ %prop %install %hind + :^ %prop (rap 3 %install '-' as ~) %hind ::TODO will exclude non-:directories files, such as /changelog/txt =- (murn - same) ^- (list (unit ovum))
Activate all BUILD_ options if none was specified
@@ -393,6 +393,13 @@ set(REVISION "-r${OpenBLAS_VERSION}") set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION}) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CCOMMON_OPT}") + +if (NOT BUILD_SINGLE AND NOT BUILD_DOUBLE AND NOT BUILD_COMPLEX AND NOT BUILD_COMPLEX16) + set (BUILD_SINGLE ON) + set (BUILD_DOUBLE ON) + set (BUILD_COMPLEX ON...
fix spelling in error msg
@@ -262,7 +262,7 @@ void NCatboostOptions::TCatFeatureParams::Validate() const { "Error in one_hot_max_size: maximum value of one-hot-encoding is 255"); const ui32 ctrComplexityLimit = GetMaxTreeDepth(); CB_ENSURE(MaxTensorComplexity.Get() < ctrComplexityLimit, - "Error: max ctr complexity should be less then " << ctrC...
Pass DESTDIR directly to jpm bootstrap script.
@@ -285,11 +285,12 @@ install-jpm-git: $(JANET_TARGET) mkdir -p build rm -rf build/jpm git clone --depth=1 https://github.com/janet-lang/jpm.git build/jpm - cd build/jpm && PREFIX='$(DESTDIR)$(PREFIX)' \ - JANET_MANPATH='$(DESTDIR)$(JANET_MANPATH)' \ - JANET_HEADERPATH='$(DESTDIR)$(INCLUDEDIR)/janet' \ - JANET_BINPATH=...
fix qt cpp language detection
@@ -153,7 +153,7 @@ function main(target, opt) local cppversion = _get_target_cppversion(target) if qt_sdkver:ge("6.0") then -- add conditionnaly c++17 to avoid for example "cl : Command line warning D9025 : overriding '/std:c++latest' with '/std:c++17'" warning - if (not cppversion) or (cppversion ~= "latest") or (ton...
sysdeps/managarm: Report all stat() file types
@@ -3783,10 +3783,18 @@ int sys_stat(fsfd_target fsfdt, int fd, const char *path, int flags, struct stat result->st_mode = S_IFREG; break; case managarm::posix::FileType::FT_DIRECTORY: result->st_mode = S_IFDIR; break; + case managarm::posix::FileType::FT_SYMLINK: + result->st_mode = S_IFLNK; break; case managarm::posi...
Add a release timestamp to the collection
@@ -102,8 +102,8 @@ typedef struct clap_preset_discovery_metadata_receiver { // It must be unique within the container file. // // The load_key is a machine friendly string used to load the preset inside the container via a - // the preset-load plug-in extension. The load_key can also just be the subpath if that's what...
calculate feature strengths if requested
#include <catboost/libs/algo/preprocess.h> #include <catboost/libs/algo/roc_curve.h> #include <catboost/libs/algo/train.h> +#include <catboost/libs/fstr/output_fstr.h> #include <catboost/libs/helpers/exception.h> #include <catboost/libs/helpers/parallel_tasks.h> #include <catboost/libs/helpers/restorable_rng.h> @@ -592...
Fix some markdown links to /doc/glossary.md
@@ -82,9 +82,9 @@ reserved for impure effects. Expressions involving the standard arithmetic operators (e.g. `*`, `+`), will not compile if overflow is possible. Some of these operators have alternative 'tilde' forms (e.g. `~mod*`, `~sat+`) which provide -[modular](/doc/glossary.md#modular-arithmetic.md) and -[saturati...
DotNetTools: Fix 32bit build
@@ -178,10 +178,12 @@ VOID NTAPI ThreadsContextCreateCallback( context->Type = THREAD_TREE_CONTEXT_TYPE; context->ProcessId = threadsContext->Provider->ProcessId; +#if _WIN64 if (threadsContext->Provider->ProcessHandle) { PhGetProcessIsWow64(threadsContext->Provider->ProcessHandle, &context->IsWow64); } +#endif PhRegis...
Fix for cloud_server
@@ -54,19 +54,9 @@ init(void) return 0; } -void -display_device_uuid(void) -{ - char buffer[OC_UUID_LEN]; - oc_uuid_to_str(oc_core_get_device_id(0), buffer, sizeof(buffer)); - - PRINT("Started device with ID: %s\n", buffer); -} - static void run(void) { - display_device_uuid(); while (quit != 1) { oc_clock_time_t next_...
Increase cmake minimum version on windows OpenSSL changes requires 3.20 at minimum. However on windows this isn't a difficult requirement to have
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. +if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows") + cmake_minimum_required(VERSION 3.20) +else() cmake_minimum_required(VERSION 3.16) +endif() # Disable in-source builds to prevent source tree corruption. if("${CMAKE_CURRENT_SOURCE_DIR}" STREQU...
mtd/smart: Fix a compile error in smart_fsck Fix a compile error caused by below commit. Added SMART flash filesystem to RP2040 Add some macro functions for smartfs driver.
#define CLR_BITMAP(m, n) do { (m)[(n) / 8] &= ~(1 << ((n) % 8)); } while (0) #define ISSET_BITMAP(m, n) ((m)[(n) / 8] & (1 << ((n) % 8))) +#ifdef CONFIG_SMARTFS_ALIGNED_ACCESS +# define SMARTFS_NEXTSECTOR(h) \ + (uint16_t)((FAR const uint8_t *)(h)->nextsector)[1] << 8 | \ + (uint16_t)((FAR const uint8_t *)(h)->nextsect...
tapv2: coverity woe coverity complains about fd leaking inside the if statement because there is a goto which bypasses the statement close (fd). The fix is to close (fd) immediately after it is no longer used.
@@ -182,6 +182,7 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) if (args->host_namespace) { int fd; + int rc; old_netns_fd = open ("/proc/self/ns/net", O_RDONLY); if ((fd = open_netns_fd ((char *) args->host_namespace)) == -1) { @@ -197,14 +198,15 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args...
Taniks: Add board_kblight_shutdown This patch adds kblight_shutdown. BRANCH=None TEST=Taniks
@@ -66,10 +66,16 @@ void board_init(void) } DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT); +__override void board_kblight_shutdown(void) +{ + gpio_set_level(GPIO_EC_KB_BL_EN_L, 1); +} __override void board_kblight_init(void) { + gpio_set_level(GPIO_RGBKBD_SDB_L, 1); gpio_set_level(GPIO_EC_KB_BL_EN_L, 0); + msl...
Autodetect Intel Ice Lake (as SKYLAKEX target)
@@ -1211,7 +1211,7 @@ int get_cpuname(void){ return CPUTYPE_CORE2; } break; - case 1: + case 1: // family 6 exmodel 1 switch (model) { case 6: return CPUTYPE_CORE2; @@ -1228,7 +1228,7 @@ int get_cpuname(void){ return CPUTYPE_DUNNINGTON; } break; - case 2: + case 2: // family 6 exmodel 2 switch (model) { case 5: //Intel...
deallocate based on pageheader size, reset r->p if it matches freed page, make r->p == 0 a condition which triggers a page advance
@@ -37,7 +37,7 @@ static u64 rolling_alloc(heap h, bytes len) rolling r = (void *)h; bytes actual = len; - if ((r->offset + len) > r->p->length) { + if (!r->p || (r->offset + len) > r->p->length) { if (len > r->parent->pagesize) { // cant allocate in the remainder of a multipage allocation, since we cant find the heade...
enable USB_SERIAL_GENERIC
@@ -9,7 +9,7 @@ diff -rupN old/linux-xlnx-xilinx-v2016.4/arch/arm/configs/xilinx_zynq_defconfig CONFIG_MDIO_BITBANG=y CONFIG_INPUT_SPARSEKMAP=y CONFIG_INPUT_EVDEV=y -@@ -239,3 +240,132 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60 +@@ -239,3 +240,133 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60 CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_...
fix FCFS stream scheduler
#if defined(__FreeBSD__) && !defined(__Userspace__) #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_ss_functions.c 365071 2020-09-01 21:19:14Z mjg $"); +__FBSDID("$FreeBSD$"); #endif #include <netinet/sctp_pcb.h> @@ -814,11 +814,10 @@ sctp_ss_fcfs_init(struct sctp_tcb *stcb, struct sctp_association *a...
board/mithrax/led.c: Format with clang-format BRANCH=none TEST=none
@@ -19,16 +19,23 @@ __override const int led_charge_lvl_2 = 94; __override struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { - [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, - [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, - [STATE_CHARGING_FULL_CHARGE] ...
docs: add standalone executable build instruction
@@ -55,6 +55,11 @@ make sudo make install ``` +#### Standalone executable +``` +gcc your-bot.c -o your-bot.exe -ldiscord -lcurl -lcrypto -lpthread -lm +``` + ### For Windows * If you do not have Ubuntu or Debian but have Windows 10, you can install WSL2 and get either Ubuntu or Debian [here](https://docs.microsoft.com/...
OcAppleBootPolicyLib: Fix Apple UB
@@ -1344,7 +1344,6 @@ OcBootPolicyGetAllApfsRecoveryFilePath ( EFI_HANDLE *HandleBuffer; APFS_VOLUME_INFO *VolumeInfo; GUID *ContainerGuids; - EFI_GUID ContainerGuid; UINTN NumberOfContainers; UINTN NumberOfVolumeInfos; UINTN Index; @@ -1417,7 +1416,7 @@ OcBootPolicyGetAllApfsRecoveryFilePath ( GuidPresent = FALSE; for...
Adding support for __restrict keyword for TI ARM compiler
#define __ALIGNED(x) __attribute__((aligned(x))) #endif #ifndef __RESTRICT - #warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored. - #define __RESTRICT + #define __RESTRICT __restrict #endif
docs: pop deprecated, updated to sec_params
@@ -27,7 +27,7 @@ Initialization of the **esp_local_ctrl** service over BLE transport is performed .proto_sec = { .version = PROTOCOM_SEC0, .custom_handle = NULL, - .pop = NULL, + .sec_params = NULL, }, .handlers = { /* User defined handler functions */ @@ -73,7 +73,7 @@ Similarly for HTTPS transport: .proto_sec = { .v...
Replace ModifyPostgresqlConfSetting with ModifyConfSetting.
@@ -164,31 +164,31 @@ class ConfExpSegCmd(Command): raise logger.info("Updating %s/postgresql.conf" % self.datadir) - modifyPostgresqlConfCmd = ModifyPostgresqlConfSetting('Updating %s/postgresql.conf' % self.datadir, + modifyConfCmd = ModifyConfSetting('Updating %s/postgresql.conf' % self.datadir, self.datadir + '/pos...
profileOverlay: add dropdown options
@@ -4,7 +4,8 @@ import { Contact, Group } from '~/types'; import { cite, useShowNickname } from '~/logic/lib/util'; import { Sigil } from '~/logic/lib/sigil'; -import { Box, Col, Row, Button, Text, BaseImage, ColProps, Icon } from '@tlon/indigo-react'; +import { Box, Col, Row, Text, BaseImage, ColProps, Icon } from '@t...
Fix typo in ifndef OPENSSL_NO_ENGINES. All other instances are OPENSSL_NO_ENGINE without the trailing "S". Fixes build when configured with no-engine. CLA: trivial
@@ -845,7 +845,7 @@ static int SortFnByName(const void *_f1, const void *_f2) static void list_engines(void) { -#ifndef OPENSSL_NO_ENGINES +#ifndef OPENSSL_NO_ENGINE ENGINE *e; BIO_puts(bio_out, "Engines:\n");
iOS: remove reunpacking frameworks zip in fcm push ext
@@ -1261,14 +1261,16 @@ namespace "config" do end end - # unpack Google frameworks zip + # unpack Google frameworks zip- only in case of sources of RHodes used - in case of GEM zip unpacked during installation if RUBY_PLATFORM =~ /darwin/ currentdir = Dir.pwd() if File.exists?(File.dirname(__FILE__) + "/../../../lib/ex...
Fix assembly example
# Example of dst bytecode assembly # Fibonacci sequence, implemented with naive recursion. -(def fibasm (asm '{ - arity 1 - bytecode [ - (ltim 1 0 0x2) # $1 = $0 < 2 +(def fibasm + (asm + '{:arity 1 + :bytecode @[(ltim 1 0 0x2) # $1 = $0 < 2 (jmpif 1 :done) # if ($1) goto :done (lds 1) # $1 = self (addim 0 0 -0x1) # $0...
Add a note about pe.rva_to_offset(pe.entry_point)
@@ -965,3 +965,7 @@ Reference Function returning the file offset for RVA *addr*. *Example: pe.rva_to_offset(pe.entry_point)* + + Passing `pe.entry_point` here only makes sense when scanning a process. This + is because `pe.entry_point` will be an RVA when scanning a process and a + file offset when scanning a file.
artik055s/audio: supress no-address-of-packed-member warnings Toolchain 10.2.1 adds warning for unaligned pointer values cause by packed struct. Supress the warnings as we use -Werror flag
@@ -106,10 +106,10 @@ endif ARCHCFLAGS = -fno-builtin -mcpu=cortex-r4 -mfpu=vfpv3 ARCHCXXFLAGS = -fno-builtin -mcpu=cortex-r4 -mfpu=vfpv3 ifeq ($(QUICKBUILD),y) -ARCHWARNINGS = -Wall -Werror -Wstrict-prototypes -Wshadow -Wundef -Wno-implicit-function-declaration -Wno-unused-function -Wno-unused-but-set-variable +ARCHWA...
Add pretty.reindent_c to coder
local checker = require "titan-compiler.checker" local util = require "titan-compiler.util" +local pretty = require "titan-compiler.pretty" local coder = {} @@ -24,9 +25,10 @@ int luaopen_$MODNAME(lua_State *L) { ]] generate_program = function(prog, modname) - return util.render(whole_file_template, { + local code = ut...
BugID:16983104: Fix the KV typo error (no impact to the module function)
@@ -575,7 +575,7 @@ static int kv_item_update(kv_item_t *item, const char *key, const void *val, int res; if (item->hdr.val_len == len) { - if (!memcpy(item->store + item->hdr.key_len, val, len)) { + if (!memcmp(item->store + item->hdr.key_len, val, len)) { return RES_OK; } }
[chainmaker][#436]add test_02InitSetTxParam_0007setTxParamFailureNULLParam
@@ -152,6 +152,15 @@ START_TEST(test_02InitSetTxParam_0006setTxParamFailureOddParam) } END_TEST +START_TEST(test_02InitSetTxParam_0007setTxParamSucessNULLParam) +{ + BSINT32 rtnVal; + BoatHlchainmakerTx tx_ptr; + + rtnVal = BoatHlchainmakerAddTxParam(&tx_ptr, 0, NULL); + ck_assert_int_eq(rtnVal, 0); +} +END_TEST Suite ...
Tiebreaker: Add RNG Collision Warning
#include <ross.h> +#define ROSS_WARN_TIE_COLLISION 1 + #define UP(t) ((t)->up) #define UPUP(t) ((t)->up->up) #define LEFT(t) ((t)->next) @@ -117,6 +119,13 @@ static unsigned int tw_pq_compare_less_than_rand(tw_event *n, tw_event *e) else if (n->event_id > e->event_id) return 0; else { + if (ROSS_WARN_TIE_COLLISION) + p...
Small fixes of cryptodev engine guard CRYPTO_3DES_CBC add a missing cast
@@ -176,7 +176,9 @@ static struct { } ciphers[] = { {CRYPTO_ARC4, NID_rc4, 0, 16}, {CRYPTO_DES_CBC, NID_des_cbc, 8, 8}, +# if !defined(CRYPTO_ALGORITHM_MIN) || defined(CRYPTO_3DES_CBC) {CRYPTO_3DES_CBC, NID_des_ede3_cbc, 8, 24}, +# endif # if !defined(CRYPTO_ALGORITHM_MIN) || defined(CRYPTO_3DES_ECB) {CRYPTO_3DES_ECB, ...
Fix typo in sway.5.scd small typo fix (ptt => ppt)
@@ -215,7 +215,7 @@ set|plus|minus|toggle <amount> If unspecified, the default is 10 pixels. Pixels are ignored when moving tiled containers. -*move* [absolute] position <pos_x> [px|ppt] <pos_y> [px|ptt] +*move* [absolute] position <pos_x> [px|ppt] <pos_y> [px|ppt] Moves the focused container to the specified position ...
integration: Add test for socket-collector.
@@ -239,6 +239,29 @@ func TestProcessCollector(t *testing.T) { runCommands(commands, t) } +func TestSocketCollector(t *testing.T) { + if *githubCI { + t.Skip("Cannot run socket-collector within GitHub CI.") + } + + commands := []*command{ + { + name: "Run nginx pod", + cmd: "kubectl run --restart=Never --image=nginx -n...
add missing variable in processTx's PRINTF
@@ -596,7 +596,7 @@ parserStatus_e processTx(txContext_t *context, context->commandLength = length; context->processingFlags = processingFlags; result = processTxInternal(context); - PRINTF("result: %d\n"); + PRINTF("result: %d\n", result); } CATCH_OTHER(e) { result = USTREAM_FAULT;
fix oc_rep_shrink_encoder_buf If the buffer is not used by the encoder, do not shrink it.
@@ -160,7 +160,8 @@ oc_rep_shrink_encoder_buf(uint8_t *buf) if (!g_enable_realloc || !buf || !g_buf_ptr || buf != g_buf) return buf; int size = oc_rep_get_encoded_payload_size(); - if (size < 0) { + if (size <= 0) { + // if the size is 0, then it means that the encoder was not used at all return buf; } uint8_t *tmp = (...
[build] Add 'network' REQUIREMENTS to valid requirements list
@@ -131,7 +131,7 @@ def validate_test(kw, is_fuzz_test): errors.append("Invalid requirement syntax [[imp]]{}[[rst]]: expect <requirement>:<value>".format(req)) in_autocheck = "ya:not_autocheck" not in tags and 'ya:manual' not in tags - invalid_requirements_for_distbuild = [requirement for requirement in requirements.ke...
chat: fixed embedded scroll item disability Fixes
@@ -244,7 +244,17 @@ export default class VirtualScroller extends PureComponent<VirtualScrollerProps, element.addEventListener('wheel', (event) => { event.preventDefault(); const normalized = normalizeWheel(event); + if ( + (event.target.scrollHeight > event.target.clientHeight && event.target.clientHeight > 0) // If w...
Update arm-gcc version in Travis CI Update arm-gcc version from 4.9 to 6.3 Add artik053/grpc config to test grpc build
@@ -8,22 +8,22 @@ services: - docker env: -- BUILD_CONFIG=artik053/minimal -- BUILD_CONFIG=artik053/tc +- BUILD_CONFIG=artik055s/audio +- BUILD_CONFIG=artik053/grpc - BUILD_CONFIG=artik053/st_things +- BUILD_CONFIG=artik053/tc - BUILD_CONFIG=artik053/iotjs -- BUILD_CONFIG=artik055s/audio +- BUILD_CONFIG=artik053/minima...
oculus_mobile: Fix vrapi_getView* signatures;
@@ -81,7 +81,7 @@ static uint32_t vrapi_getViewCount(void) { return 2; } -static void vrapi_getViewPose(uint32_t view, float* position, float* orientation) { +static bool vrapi_getViewPose(uint32_t view, float* position, float* orientation) { if (view > 1) return false; float transform[16]; mat4_init(transform, bridgeL...
netutils/netcat: sendfile related code refactoring + small fixes
@@ -78,6 +78,33 @@ int do_io(int infd, int outfd) return EXIT_SUCCESS; } +#ifdef CONFIG_NETUTILS_NETCAT_SENDFILE +int do_io_over_sendfile(int infd, int outfd, ssize_t len) +{ + off_t offset = 0; + ssize_t written; + + while (len > 0) + { + written = sendfile(outfd, infd, &offset, len); + + if (written == -1 && errno ==...
prepare to read raw text file
@@ -4014,36 +4014,58 @@ static bool processrawfile(char *rawinname) static int len; static long int linecount; static FILE *fh_raw_in; - +static char *csptr; static char linein[RAW_LEN_MAX]; if(initlists() == false) return false; - if((fh_raw_in = fopen(rawinname, "r")) == NULL) { fprintf(stderr, "failed to open raw fi...
Poll manager: support ZHALightLevel and ZHAPresence for mains powered sensors
@@ -79,6 +79,8 @@ void PollManager::poll(RestNodeBase *restNode, const QDateTime &tStart) suffix == RStateColorMode || (suffix == RStateConsumption && sensor && sensor->type() == QLatin1String("ZHAConsumption")) || (suffix == RStatePower && sensor && sensor->type() == QLatin1String("ZHAPower")) || + (suffix == RStatePr...
Core.Error: return Result type from `fromFailable` Working towards a cleaner separation of different kinds of error handling.
{-# LANGUAGE DeriveDataTypeable #-} +{-# LANGUAGE DeriveFunctor #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} {-# OPTIONS_GHC -fno-warn-orphans #-} @@ -155,19 +156,38 @@ hsluaErrorRegistryField = "HSLUA_ERR" -- CInt should be converted. newtype Failable a = Failable CInt --- | Convert from...
update readme for 1.5 release
@@ -57,6 +57,7 @@ Enjoy! ### Releases +* 2020-02-09, `v1.5.0`: stable release 1.5: improved free performance, small bug fixes. * 2020-01-22, `v1.4.0`: stable release 1.4: improved performance for delayed OS page reset, more eager concurrent free, addition of STL allocator, fixed potential memory leak. * 2020-01-15, `v1...
add default setting if missing auto
@@ -3,6 +3,7 @@ import os from autologging import traced, logged +from ..global_var import defaultsettings from ..osrparse.enums import Mod from ..Parser.skinparser import Skin @@ -58,10 +59,18 @@ def setupglobals(data, gameplaydata, mod_combination, settings, ppsettings=None) settings.skin_ini = skin settings.default_...
Improve documentation,for
@@ -142,11 +142,13 @@ These options control the behaviour of **carbon-c-relay**. connection refused errors on the clients. * `-U` *bufsize*: - Sets the socket send/receive buffer sizes in bytes. When unset, the - OS default is used. The maximum is also determined by the OS. The - sizes are set using setsockopt with the...
Fix typo catboost_clickhouse_sprint_02.02.2019 problem 1
@@ -84,7 +84,7 @@ inline static void BindPoolLoadParams(NLastGetopt::TOpts* parser, NCatboostOptio const auto cvDescription = TString::Join( "Cross validation type. Should be one of: ", - GetEnumAllNames<ECrossValidation>()); + GetEnumAllNames<ECrossValidation>(), ". Classical: test on fold n of k, n is 0-based", ". In...
[Chenyu Zhao] : add GetPluginByName() method but not implemented
@@ -12,14 +12,15 @@ import ( "github.com/linuxkerneltravel/lmp/models" "github.com/linuxkerneltravel/lmp/settings" - "go.uber.org/zap" "github.com/gin-gonic/gin" + "go.uber.org/zap" ) type Plugin interface { EnterRun() error ExitRun() error Run(chan bool, int) + GetPluginByName() Plugin } type PluginBase struct { @@ -4...
fix default num threads
@@ -244,7 +244,7 @@ namespace "config" do if !$app_config["sailfish"]["build_threads"].nil? $build_threads = $app_config["sailfish"]["build_threads"] else - $build_threads = 4 + $build_threads = 1 end Rake::Task["build:sailfish:startvm"].invoke()
tests: updates aes-siv regression test comment
^- (list vector-siv) :~ :: - :: failed in the wild + :: failed in the wild, see https://github.com/urbit/urbit/pull/3013 :: :^ 0xfdef.6253.d284.a940.1b5d.d1b7.fbcd.4489. 3071.bf93.ace9.37da.7c5d.77d2.1f3e.cda4.
CString doesn't need the varlena header space CString only has the length and data in the serialized structure, no need to allocate spaces for the varlena header.
@@ -810,7 +810,7 @@ DeserializeTuple(SerTupInfo *pSerInfo, StringInfo serialTup) if (sz < 0) elog(ERROR, "invalid length received for a CString"); - p = palloc(sz + VARHDRSZ); + p = palloc(sz); /* Then data */ pq_copymsgbytes(serialTup, p, sz);
in_tail: create stream_id by file inode(#4190) If stream_id is created by filename, rotated file id will be same. It causes releasing new multiline instance after file rotation.
@@ -795,6 +795,7 @@ int flb_tail_file_append(char *path, struct stat *st, int mode, size_t tag_len; struct flb_tail_file *file; struct stat lst; + flb_sds_t inode_str; if (!S_ISREG(st->st_mode)) { return -1; @@ -882,18 +883,30 @@ int flb_tail_file_append(char *path, struct stat *st, int mode, /* Multiline core mode */ ...
Add arbitrum to networks
@@ -19,6 +19,7 @@ const network_info_t NETWORK_MAPPING[] = { {.chain_id = 100, .name = "xDai", .ticker = "xDAI "}, {.chain_id = 137, .name = "Polygon", .ticker = "MATIC "}, {.chain_id = 250, .name = "Fantom", .ticker = "FTM "}, + {.chain_id = 42161, .name = "Arbitrum", .ticker = "AETH "}, {.chain_id = 42220, .name = "C...
fix(docs): change to the new is_fitted() API
" eval_set=(X_validation, y_validation),\n", " logging_level='Silent'\n", ")\n", - "print('Model is fitted: ' + str(model.is_fitted_))\n", + "print('Model is fitted: ' + str(model.is_fitted()))\n", "print('Model params:')\n", "print(model.get_params())" ]
Removed print statement from test_EarthClimate.py.
@@ -12,9 +12,6 @@ def test_EarthClimate(): # Run vplanet subprocess.run(['vplanet', 'vpl.in', '-q'], cwd=cwd) - files = os.listdir(cwd) - print (files) - # Grab the output output = GetOutput(path=cwd)
Ignore me, just formatting.
@@ -319,7 +319,9 @@ static const char * method_strmap[] = { } #define __HTPARSE_GENDHOOK(__n) \ - static inline int hook_ ## __n ## _run(htparser * p, htparse_hooks * hooks, const char * s, size_t l) \ + static inline int hook_ ## __n ## _run(htparser * p, \ + htparse_hooks * hooks, \ + const char * s, size_t l) \ { \ ...
Remove hidden option to skip ssl-opt and compat tests Also remove compat tests from reference component as results from this run are not included in outcome file.
@@ -2098,16 +2098,11 @@ component_test_psa_crypto_config_accel_hash_use_psa () { msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated hash and USE_PSA" make test - # hidden option: when running outcome-analysis.sh, we can skip this - if [ "${SKIP_SSL_OPT_COMPAT_SH-unset}" = "unset" ]; then msg "test: ssl-opt.sh, MBEDT...
zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t.
@@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin return size; } -STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, mp_uint_t arg, int *errcode) { +STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *errco...
bufr_dump -p performance: speed up by skipping extra key attributes
@@ -360,6 +360,10 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h) grib_dump_content(h,stdout,options->dump_mode,options->dump_flags,0); } else { const char* dumper_name = get_dumper_name(options); + if (strcmp(dumper_name, "bufr_simple")==0) { + /* This speeds up the unpack by skipping...
Add notice about Scoop and Chocolatey integration not maintained by YARA authors.
@@ -88,7 +88,8 @@ You can also download and install YARA using the `vcpkg <https://github.com/Micr ./vcpkg integrate install vcpkg install yara -The YARA port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please `create an issue or pull request <https:/...
adds +certificate:event to +sigh-httr
%new-order (new-order:event t.wir rep) %finalize-order (finalize-order:event t.wir rep) %check-order (check-order:event t.wir rep) + %certificate (certificate:event t.wir rep) %get-authz (get-authz:event t.wir rep) :: XX check/finalize-authz ?? %test-trial (test-trial:event t.wir rep)
Changlog: More detail
@@ -24,9 +24,10 @@ OpenCore Changelog - Fixed OpenCanopy interrupt handling causing missed events and lag - Improved OpenCanopy double-click detection - Reduced OpenCanopy touch input lag and improved usability -- Apple Event keyboard handling for improved keypress response in OpenCanopy and Builtin pickers -- Apple Ke...
lis2de: fix build issues when BUS_DRIVER_PRESENT:1
@@ -2915,6 +2915,7 @@ lis2de12_config(struct lis2de12 *lis2de12, struct lis2de12_cfg *cfg) itf = SENSOR_GET_ITF(&(lis2de12->sensor)); sensor = &(lis2de12->sensor); + (void)sensor; #if !MYNEWT_VAL(BUS_DRIVER_PRESENT) if (itf->si_type == SENSOR_ITF_SPI) {
CMSIS DAP: minor update in documentation
@@ -861,11 +861,11 @@ Reads extended information about the SWO trace status. - <b>Control</b>: - Bit 0: Trace Status (1 - request, 0 - inactive) - Bit 1: Trace Count (1 - request, 0 - inactive) - - Bit 2: Index/Trace (1 - request, 0 - inactive) + - Bit 2: Index/Timestamp (1 - request, 0 - inactive) <b>DAP_SWO_ExtendSta...
nocturne_fp: Better comments for pin config BRANCH=nocturne TEST=none
@@ -23,9 +23,9 @@ GPIO(USER_PRES_L, PIN(C, 5), GPIO_ODR_HIGH) UNIMPLEMENTED(ENTERING_RW) -/* USART1: PA9/PA10 */ +/* USART1: PA9/PA10 (TX/RX) */ ALTERNATE(PIN_MASK(A, 0x0600), GPIO_ALT_USART, MODULE_UART, GPIO_PULL_UP) -/* SPI1 slave from the AP: PA4/5/6/7 */ +/* SPI1 slave from the AP: PA4/5/6/7 (CS/CLK/MISO/MOSI) */ ...
GraphContent: don't linebreak on empty text nodes
@@ -61,6 +61,12 @@ const contentToMdAst = (tall: boolean) => ( content: Content ): [StitchMode, any] => { if ('text' in content) { + if (content.text.toString().trim().length === 0) { + return [ + 'merge', + { type: 'root', children: [{ type: 'paragraph', children: [] }] }, + ]; + } return [ 'merge', tall ? parseTall(c...
bntest: make sure that equalBN takes note of negative zero
@@ -146,7 +146,13 @@ static int equalBN(const char *op, const BIGNUM *expected, const BIGNUM *actual) if (BN_cmp(expected, actual) == 0) return 1; + if (BN_is_zero(expected) && BN_is_negative(expected)) + exstr = OPENSSL_strdup("-0"); + else exstr = BN_bn2hex(expected); + if (BN_is_zero(actual) && BN_is_negative(actual...
zephyr/drivers/cros_rtc/cros_rtc_xec.c: Format with clang-format BRANCH=none TEST=none
@@ -123,7 +123,7 @@ static const struct cros_rtc_xec_config cros_rtc_xec_cfg_0 = { static struct cros_rtc_xec_data cros_rtc_xec_data_0; -DEVICE_DT_INST_DEFINE(0, cros_rtc_xec_init, NULL, - &cros_rtc_xec_data_0, &cros_rtc_xec_cfg_0, POST_KERNEL, +DEVICE_DT_INST_DEFINE(0, cros_rtc_xec_init, NULL, &cros_rtc_xec_data_0, + ...
fix extern C declaration for msvc (issue
@@ -586,7 +586,7 @@ static void mi_process_done(void) { __pragma(comment(linker, "/include:" "__mi_msvc_initu")) #endif #pragma data_seg(".CRT$XIU") - extern "C" _mi_crt_callback_t _mi_msvc_initu[] = { &_mi_process_init }; + mi_decl_externc _mi_crt_callback_t _mi_msvc_initu[] = { &_mi_process_init }; #pragma data_seg()...
[numerics] adapt an in RFC3D projectionOnCone to improve a bit the convergence
@@ -97,9 +97,11 @@ int rolling_fc3d_projectionOnCone_solve( /* double at = 2*(alpha - beta)/((alpha + beta)*(alpha + beta)); */ //double an = 1./(MLocal[0]+mu_i); - //double an = 1. / (MLocal[0]); - - double an=1.0; + double an = 1. / (MLocal[0]); + for (unsigned int i =1; i <5; i++) + { + an = fmin(an,1. / (MLocal[i+i...
add hwloc to buildrequires
@@ -52,7 +52,7 @@ BuildRequires: opensm-devel BuildRequires: numactl BuildRequires: libevent-devel BuildRequires: pmix%{PROJ_DELIM} -BuildRequires: hwloc-devel +BuildRequires: hwloc hwloc-devel %if 0%{with_slurm} BuildRequires: slurm-devel%{PROJ_DELIM} #!BuildIgnore: slurm%{PROJ_DELIM}
tap: add the static assert for api flags Type: improvement
@@ -126,6 +126,25 @@ vl_api_tap_create_v2_t_handler (vl_api_tap_create_v2_t * mp) ap->host_mtu_set = 1; } + STATIC_ASSERT (((int) TAP_API_FLAG_GSO == (int) TAP_FLAG_GSO), + "tap gso api flag mismatch"); + STATIC_ASSERT (((int) TAP_API_FLAG_CSUM_OFFLOAD == + (int) TAP_FLAG_CSUM_OFFLOAD), + "tap checksum offload api flag...
update src dir name
@@ -315,7 +315,7 @@ from an allocated Torque job. ############################################################################## %prep -%setup -q -n %{pname}-%{pname}-%{version} +%setup -q -n %{pname}-%{version} ############################################################################## %build
mesh: Fix macro in net.c
@@ -344,7 +344,7 @@ static void bt_mesh_net_local(struct ble_npl_event *work) static const struct bt_mesh_net_cred *net_tx_cred_get(struct bt_mesh_net_tx *tx) { -#if defined(CONFIG_BT_MESH_LOW_POWER) +#if IS_ENABLED(CONFIG_BT_MESH_LOW_POWER) if (tx->friend_cred && bt_mesh_lpn_established()) { return &bt_mesh.lpn.cred[S...
Fix inconsistent variable name in static function of mac8.c Both argument names were reversed in the declaration of the function. Author: Ranier Vilela Discussion:
#define lobits(addr) \ ((unsigned long)(((addr)->e<<24) | ((addr)->f<<16) | ((addr)->g<<8) | ((addr)->h))) -static unsigned char hex2_to_uchar(const unsigned char *str, const unsigned char *ptr); +static unsigned char hex2_to_uchar(const unsigned char *ptr, const unsigned char *str); static const signed char hexlookup[...
tweaks replacement events: %crud contents, %warn structure
@@ -406,12 +406,15 @@ _worker_lame(c3_d evt_d, u3_noun ovo, u3_noun why, u3_noun tan) } // failed event notifications (%crud) are replaced with // an even more generic notifications, on a generic arvo wire. - // // N.B this must not be allowed to fail! // + // [%warn original-event-tag=@tas combined-trace=(list tank)] ...
Patched up some TODO comments.
!: :::: :: -[. talk] +[. talk] ::TODO =, => ::> || ::> || %arch ::> || |% ++ state ::> broker state $: stories/(map knot story) ::< conversations + ::TODO outbox not needed outbox/(pair @ud (map @ud thought)) ::< urbit outbox log/(map knot @ud) ::< logged to clay nicks/(map ship knot) ::< nicknames remotes/(map partner...
wpa_supplicant : Prevent h2e config overwrite Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler. Add one preventative condition to take care of this.
@@ -171,8 +171,10 @@ static void clear_bssid_flag(struct wpa_supplicant *wpa_s) } esp_wifi_get_config(WIFI_IF_STA, config); + if (config->sta.bssid_set) { config->sta.bssid_set = 0; esp_wifi_set_config(WIFI_IF_STA, config); + } os_free(config); wpa_printf(MSG_DEBUG, "cleared bssid flag"); }
gbp: missing contract hash-mode setting Type: fix
@@ -4950,9 +4950,11 @@ class TestGBP(VppTestCase): self, 44, 4220, 4221, acl_index, [VppGbpContractRule( VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT, + VppEnum.vl_api_gbp_hash_mode_t.GBP_API_HASH_MODE_SRC_IP, []), VppGbpContractRule( VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT, + VppEnum.vl_api_gbp_ha...
docs: Update XDP driver support list
@@ -147,6 +147,11 @@ Intel `ixgbevf` driver | 4.17 | [`c7aec59657b6`](https://git.kernel.org/cgit/lin Freescale `dpaa2` driver | 5.0 | [`7e273a8ebdd3`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7e273a8ebdd3b83f94eb8b49fc8ee61464f47cc2) Socionext `netsec` driver | 5.3 | [`ba2b232108d3`](...
[catboost] validate inputs in TQuantizedFeaturesDataProviderBuilder [catboost] fix condition
#include <util/generic/string.h> #include <util/generic/xrange.h> #include <util/generic/ylimits.h> +#include <util/stream/labeled.h> #include <util/system/yassert.h> #include <algorithm> @@ -809,6 +810,13 @@ namespace NCB { template <class T> static void CopyPart(ui32 objectOffset, TUnalignedArrayBuf<T> srcPart, TVect...
Reorder release.mk recipes Group prepare-deps for win32 and win64.
@@ -67,6 +67,11 @@ prepare-deps-win32: @prebuilt-deps/prepare-sdl.sh @prebuilt-deps/prepare-ffmpeg-win32.sh +prepare-deps-win64: + @prebuilt-deps/prepare-adb.sh + @prebuilt-deps/prepare-sdl.sh + @prebuilt-deps/prepare-ffmpeg-win64.sh + build-win32: prepare-deps-win32 [ -d "$(WIN32_BUILD_DIR)" ] || ( mkdir "$(WIN32_BUIL...
Changes for building for ESX
@@ -72,6 +72,9 @@ endif() if(ESX_BUILD) set(OS_TYPE esx) set(FILE_PREFIX esx) + set(CMAKE_SKIP_BUILD_RPATH FALSE) + set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE) + set(CMAKE_INSTALL_RPATH "/opt/intel/bin") find_package(PythonInterp REQUIRED) elseif(UNIX) set(LNX_BUILD 1)
kernel/os: Remove obsolete API This is not used as public API anymore.
@@ -59,7 +59,6 @@ struct os_task; #endif os_stack_t *os_arch_task_stack_init(struct os_task *, os_stack_t *, int); -void timer_handler(void); void os_arch_ctx_sw(struct os_task *); os_sr_t os_arch_save_sr(void); void os_arch_restore_sr(os_sr_t);
build: fix install-deps on centos-8 Required to fix CI jobs failing due to errant upgrade of glibc-devel which cannot be found. Type: fix
@@ -295,7 +295,7 @@ else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8) @sudo -E dnf config-manager --set-enabled \ $(shell dnf repolist all 2>/dev/null|grep -i powertools|cut -d' ' -f1) @sudo -E dnf groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS) - @sudo -E dnf install $(CONFIRM) $(RPM_DEPENDS) + @sudo -E dnf install --skip-...
updating badge counts ((#529)
--- -[![Components](https://img.shields.io/badge/components%20available-70-green.svg) ](https://github.com/openhpc/ohpc/wiki/Component-List) -[![Additions](https://img.shields.io/badge/new%20additions-5-blue.svg) ](https://github.com/openhpc/ohpc/releases/tag/v1.3.2.GA) -[![Updates](https://img.shields.io/badge/updates...
ports/rp2: Fix cambus fast mode plus frequency.
@@ -24,7 +24,7 @@ int cambus_init(cambus_t *bus, uint32_t bus_id, uint32_t speed) bus->speed = 250 * 1000; ///< 250 kbps break; case CAMBUS_SPEED_FAST: - bus->speed = 400 * 1000; ///< 400 kbps + bus->speed = 1000 * 1000; ///< 1000 kbps break; default: return -1;
iokernel: increase polling interval to 10us
@@ -44,7 +44,7 @@ extern struct iokernel_cfg cfg; #define IOKERNEL_CMD_BURST_SIZE 64 #define IOKERNEL_RX_BURST_SIZE 64 #define IOKERNEL_CONTROL_BURST_SIZE 4 -#define IOKERNEL_POLL_INTERVAL 5 +#define IOKERNEL_POLL_INTERVAL 10 /* * Process Support
improve rotate vec3 with affine matrix because v and dest may be same vector
@@ -428,9 +428,11 @@ glm_vec_rotate(vec3 v, float angle, vec3 axis) { CGLM_INLINE void glm_vec_rotate_m4(mat4 m, vec3 v, vec3 dest) { - dest[0] = m[0][0] * v[0] + m[1][0] * v[1] + m[2][0] * v[2]; - dest[1] = m[0][1] * v[0] + m[1][1] * v[1] + m[2][1] * v[2]; - dest[2] = m[0][2] * v[0] + m[1][2] * v[1] + m[2][2] * v[2]; ...
Add apache rat check in travis CI.
@@ -21,6 +21,7 @@ install: libevent bison cpanm + maven - brew reinstall python - brew outdated libyaml || brew upgrade libyaml - brew outdated json-c || brew upgrade json-c @@ -31,6 +32,7 @@ install: - sudo cpanm install JSON before_script: + - mvn apache-rat:check - cd $TRAVIS_BUILD_DIR - ./configure
Enable iterator based flatbuffers generation
@@ -15,9 +15,8 @@ class FlatcBase(iw.CustomCommand): def output(self): base_path = common.tobuilddir(common.stripext(self._path)) - return [ - (base_path + self.extension(), []), - (base_path + self.schema_extension(), ['noauto'])] + return [(base_path + extension, []) for extension in self.extensions()] +\ + [(base_pa...
unit tests: address nightly unit test failures These test cases were erroneously calling functions without a prior call to opae_ioctl_initialize(). This resulted in a NULL check failure and a subsequent FPGA_EXCEPTION.
@@ -60,6 +60,7 @@ fpga_result opae_port_unmap(int fd, uint64_t io_addr); fpga_result intel_fpga_version(int fd); fpga_result intel_fme_port_pr(int fd, uint32_t flags, uint32_t port_id, uint32_t sz, uint64_t addr, uint64_t *status); +int opae_ioctl_initialize(void); } #include "mock/opae_fixtures.h" @@ -127,6 +128,7 @@ ...
Add macos build to CI
@@ -38,7 +38,7 @@ jobs: uses: actions/cache@v2 with: path: "/home/runner/.cache/bazel" - key: bazel + key: bazel-ubuntu - name: Build run: | @@ -55,7 +55,24 @@ jobs: uses: actions/cache@v2 with: path: "/home/runner/.cache/bazel" - key: bazel + key: bazel-windows + + - name: Build + run: | + bazelisk build //... + + bui...
Added many SceSysrootForKernel functions
@@ -1732,6 +1732,12 @@ modules: functions: ksceKernelGetSysrootBuffer: 0x3E455842 ksceKernelGetProcessTitleId: 0xEC3124A3 + ksceSysrootIsBsodReboot: 0x4373AC96 + ksceSysrootIsExternalBootMode: 0x89D19090 + ksceSysrootIsManufacturingMode: 0x55392965 + ksceSysrootIsSafeMode: 0x834439A7 + ksceSysrootIsUpdateMode: 0xB0E1FC...
[github][irc] try to use notice instead of privmsg
@@ -11,6 +11,7 @@ jobs: with: channel: "#lk" nickname: lk-github + notice: true message: | ${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }} ${{ join(github.event.commits.*.message) }} @@ -20,6 +21,7 @@ jobs: with: channel: "#lk" nickname: lk-github + notice: true message: | ${{ github.acto...