message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fixed %app speeches to look identical to the way they do in old talk. | ::> renders just the most important data of the
::> message. if possible, these stay within a single
::> line.
+ ::TODO this should probably be redone someday.
::
- ::> pre: line prefix
- =| pre/(unit tape)
+ ::> pre: replace/append line prefix
+ =| pre/(unit (pair ? tape))
|= wyd/@ud
^- (list tape)
?- -.sep
~(ram re (... |
Fix recursive post-deps. | @@ -757,7 +757,7 @@ int main(int argc, const char **argv) {
(os/execute [(git-path) "reset" "--hard" tag] :p))
(unless (dyn :offline)
(os/execute [(git-path) "submodule" "update" "--init" "--recursive"] :p))
- (import-rules "./project.janet")
+ (import-rules "./project.janet" true)
(unless no-deps (do-rule "install-dep... |
move snap_example_set to snap_maint to prevent unwritten addresses with all actions | step "$SNAP_ROOT/software/tools/snap_maint -m1 -c1 -vvv"
t="$SNAP_ROOT/software/tools/snap_peek 0x18 "; r=$($t|grep ']'|awk '{print $2}');echo -e "$t result=$r # statusreg 0x100=exploration done 1action, 0x111=2action"
fi
+ if (( dram > 0 ));then echo -e "write FPGA memory to prevent reading unwritten adr 0"
+ step "$A... |
OcConfigurationLib: Fix Booter patcher Identifier to be Any for failsafe | _(UINT32 , Count , , 0 , () ) \
_(BOOLEAN , Enabled , , FALSE , () ) \
_(OC_DATA , Find , , OC_EDATA_CONSTR (_, __) , OC_DESTR (OC_DATA) ) \
- _(OC_STRING , Identifier , , OC_STRING_CONSTR ("", _, __), OC_DESTR (OC_STRING) ) \
+ _(OC_STRING , Identifier , , OC_STRING_CONSTR ("Any", _, __), OC_DESTR (OC_STRING) ) \
_(OC... |
LICENSE: add license for wapi
document the license in the LICENSE file | @@ -1643,3 +1643,48 @@ apps/include/gpsutils/minmea.h
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
+
+apps/include/wireless/wapi.h
+=============================
+
+ Copyright (C) 2017, 2019 Gregory Nutt. Al... |
CLEANUP: Fix compile error of kv mget operation. | @@ -496,7 +496,11 @@ struct conn {
void *coll_eitem;
char *coll_resps;
int coll_ecount;
+#ifdef SUPPORT_KV_MGET
+ int coll_op;
+#else
ENGINE_COLL_OPERATION coll_op;
+#endif
char *coll_key;
int coll_nkey;
int coll_index; /* the list index of lop insert */
|
Fixed some typos in the f08 interface and added standardize_cell to the available functions | @@ -317,7 +317,7 @@ module spglib_f08
integer(c_int), intent(in), value :: num_atom
integer(c_int), intent(in), value :: to_primitive, no_idealize
real(c_double), intent(in), value :: symprec
- integer(c_int) :: spg_refine_cell
+ integer(c_int) :: spg_standardize_cell
end function spg_standardize_cell
@@ -329,7 +329,7 ... |
Adding api compilation unit; must have gotten dropped in a merge | @@ -32,7 +32,7 @@ endif
SBA:=redist/sba/sba_chkjac.c redist/sba/sba_crsm.c redist/sba/sba_lapack.c redist/sba/sba_levmar.c redist/sba/sba_levmar_wrap.c redist/minimal_opencv.c src/poser_epnp.c src/poser_sba.c src/epnp/epnp.c src/poser_general_optimizer.c
-LIBSURVIVE_CORE+=src/survive.c src/survive_process.c src/ootx_de... |
apps/testbench: Support multiple BLE connections | @@ -184,10 +184,9 @@ tbb_gap_event(struct ble_gap_event *event, void *arg)
}
MODLOG_DFLT(INFO, "\n");
- if (event->connect.status != 0) {
- /* Connection failed; resume advertising. */
+ /* Try to advertise again. */
tbb_advertise();
- }
+
return 0;
case BLE_GAP_EVENT_DISCONNECT:
|
OpenCorePlatform: Sanitize definitions across libs | @@ -325,6 +325,12 @@ OcPlatformUpdateSmbios (
Data.FirmwareFeatures = MacInfo->Smbios.FirmwareFeatures;
Data.FirmwareFeaturesMask = MacInfo->Smbios.FirmwareFeaturesMask;
Data.ProcessorType = NULL;
+
+ OC_INLINE_STATIC_ASSERT (
+ MAC_INFO_PLATFORM_FEATURE_MISSING == PLATFORM_FEATURE_MISSING,
+ "MacInfoPkg and OcSupportP... |
saddr should be addrlen bytes
Not sizeof saddr. | @@ -402,7 +402,7 @@ addrretry:
if (c->saddr) {
free(c->saddr);
}
- c->saddr = malloc(sizeof(*p->ai_addr));
+ c->saddr = malloc(p->ai_addrlen);
memcpy(c->saddr, p->ai_addr, p->ai_addrlen);
c->addrlen = p->ai_addrlen;
|
fix test_tool peerdir for go tests | @@ -3572,6 +3572,10 @@ module GO_TEST: GO_PROGRAM {
PEERDIR(${GOSTD}/testing)
ADD_YTEST($REALPRJNAME go.test)
+
+ when ($TESTS_REQUESTED && $NEED_PLATFORM_PEERDIRS == "yes") {
+ PEERDIR+=build/platform/test_tool
+ }
}
JAVA_IGNORE_CLASSPATH_CLASH_VALUE=
|
Work CI-CD
Add tag to code style comments to allow nfbot to remove them after the branches are merged.
***NO_CI*** | @@ -130,7 +130,8 @@ steps:
'OK' | Write-Host -ForegroundColor Green
# PR submitted, add a comment
- $codeStyleFixesComment = @{body="@$($pr.user.login) there are issues with the code style on the source files.`nA PR was submitted with the code style fixes. Please click $($result.html_url), review the changes if you wan... |
Updated linking of library with test | @@ -25,7 +25,7 @@ add_celix_bundle(bundle_with_exception SOURCES src/nop_activator.c VERSION 1.0.0
add_subdirectory(subdir) #simple_test_bundle4, simple_test_bundle5 and sublib
add_celix_bundle(unresolveable_bundle SOURCES src/nop_activator.c VERSION 1.0.0)
-target_link_libraries(unresolveable_bundle PRIVATE "-L${CMAKE... |
hv: nested: redundant permission check on nested_vmentry()
check_vmx_permission() is called in vmresume_vmexit_handler() and
vmlaunch_vmexit_handler() already. | @@ -1409,7 +1409,6 @@ static void nested_vmentry(struct acrn_vcpu *vcpu, bool is_launch)
{
struct acrn_vmcs12 *vmcs12 = &vcpu->arch.nested.vmcs12;
- if (check_vmx_permission(vcpu)) {
if (vcpu->arch.nested.current_vmcs12_ptr == INVALID_GPA) {
nested_vmx_result(VMfailInvalid, 0);
} else if (is_launch && (vmcs12->launch_s... |
Bump version 1.6.6 | @@ -31,7 +31,7 @@ APP_LOAD_PARAMS += --path "45'"
APPVERSION_M=1
APPVERSION_N=6
APPVERSION_P=6
-APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)-dvf2
+APPVERSION=$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)
APP_LOAD_FLAGS= --appFlags 0x240 --dep Ethereum:$(APPVERSION)
ifeq ($(CHAIN),)
|
fixed action frame payloadptr | @@ -2942,7 +2942,7 @@ static inline void process80211action()
static actf_t *actf;
if(payloadlen < ACTIONFRAME_SIZE) return;
-actf = (actf_t*)packetptr;
+actf = (actf_t*)payloadptr;
if(actf->categoriecode == CAT_VENDOR)
{
if(fd_pcapng > 0)
|
bq27z561: Fix buffer overrun
Each write is prefaced by a three byte header (checksum ID, checksum,
length). We were only allocating two extra bytes.
The fix is to allocate three extra bytes instead. | @@ -590,7 +590,7 @@ err:
bq27z561_err_t
bq27z561_wr_flash(struct bq27z561 *dev, uint16_t addr, uint8_t *buf, int buflen)
{
- uint8_t tmpbuf[BQ27Z561_MAX_FLASH_RW_LEN + 2];
+ uint8_t tmpbuf[BQ27Z561_MAX_FLASH_RW_LEN + 3];
uint8_t chksum;
bq27z561_err_t ret;
int rc;
|
stm32/mboot: Add support for 4th board LED. | @@ -280,11 +280,17 @@ void mp_hal_pin_config_speed(uint32_t port_pin, uint32_t speed) {
#define LED0 MICROPY_HW_LED1
#define LED1 MICROPY_HW_LED2
#define LED2 MICROPY_HW_LED3
+#ifdef MICROPY_HW_LED4
+#define LED3 MICROPY_HW_LED4
+#endif
void led_init(void) {
mp_hal_pin_output(LED0);
mp_hal_pin_output(LED1);
mp_hal_pin_... |
Add custom print if echo is disabled | @@ -55,6 +55,18 @@ static size_t
send_data(const void* data, size_t len) {
DWORD written;
if (com_port != NULL) {
+#if !ESP_CFG_AT_ECHO
+ const uint8_t* d = data;
+ HANDLE hConsole;
+
+ hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
+ SetConsoleTextAttribute(hConsole, FOREGROUND_RED);
+ for (DWORD i = 0; i < len; i++) {
+... |
more formatting changes
also trying to kick off the builders :P | @@ -33,6 +33,7 @@ should never go to disk, or you've lost the whole point of it)
## Build status
[](https://build.memcached.org/#/builders)
+
[](https://build.memcached.org/#/builde... |
[apps] Adjust systolic matmul to use CSR dump for benchmarks | @@ -40,7 +40,14 @@ uint32_t bm_v_push_cnt[SYSTOLIC_SIZE][SYSTOLIC_SIZE];
queue_t *queues_vert[SYSTOLIC_SIZE - 1][SYSTOLIC_SIZE];
queue_t *queues_horz[SYSTOLIC_SIZE][SYSTOLIC_SIZE - 1];
+// Define dump functions via CSR writes
+dump(horz_pop, 0x7D1);
+dump(vert_pop, 0x7D2);
+dump(horz_push, 0x7D3);
+dump(vert_push, 0x7D... |
Use bash | @@ -70,7 +70,7 @@ stage("Compare changes") {
])
// Check if git diff vs origin/master contains changes outside of ignored directories
gitChanges = sh (
- script: """
+ script: """#!/bin/bash
git diff --name-only testremote/${BRANCH_NAME} origin/master | grep --invert-match --extended-regexp \'${IGNORED_DIRS}\' --no-mes... |
[Platon][#1261]add params check | @@ -86,12 +86,36 @@ BOAT_RESULT BoatPlatONTxInit(BoatPlatONWallet *wallet_ptr,
return BOAT_ERROR_COMMON_INVALID_ARGUMENT;
}
+ if ((gasprice_str != NULL) && !UtilityStringIsHex(gasprice_str))
+ {
+ BoatLog(BOAT_LOG_CRITICAL, "The format of gasprice is incorrect");
+ return BOAT_ERROR_COMMON_INVALID_ARGUMENT;
+ }
+
+ if ... |
Rest API: config.modelid doesn't depend on specific api version | @@ -410,7 +410,6 @@ void DeRestPluginPrivate::configToMap(const ApiRequest &req, QVariantMap &map)
backup["status"] = QLatin1String("idle");
backup["errorcode"] = 0;
map["backup"] = backup;
- map["modelid"] = QLatin1String("deCONZ");
map["factorynew"] = false;
map["replacesbridgeid"] = QVariant();
map["datastoreversion... |
QUIC: Add miscellaneous QUIC constants | @@ -84,4 +84,11 @@ static ossl_unused ossl_inline int ossl_quic_conn_id_eq(const QUIC_CONN_ID *a,
#define QUIC_DEFAULT_ACK_DELAY_EXP 3
#define QUIC_MAX_ACK_DELAY_EXP 20
+#define QUIC_DEFAULT_MAX_ACK_DELAY 25
+
+#define QUIC_MIN_ACTIVE_CONN_ID_LIMIT 2
+
+/* Arbitrary choice of default idle timeout (not an RFC value). */... |
Travis: only install msp430 where needed | @@ -13,7 +13,11 @@ before_script:
- sudo apt-get -qq update
## Support building a binary that is identical to the CI
- - echo -n "Contiki will be compiled with RELSTR=" ; git --git-dir .git describe --tags --always
+ - echo -n "Contiki-NG will be compiled with RELSTR=" ; git --git-dir .git describe --tags --always
+
+ ... |
Security (TLS) code fix only: free a TLS context.
The function uSecurityTlsRemove(), which should free a TLS context, wasn't actually freeing the TLS context at all. It is now. | @@ -268,7 +268,7 @@ uSecurityTlsContext_t *pUSecurityTlsAdd(uDeviceHandle_t devHandle,
// Free the given TLS security context.
void uSecurityTlsRemove(uSecurityTlsContext_t *pContext)
{
- if ((pContext != NULL) && init()) {
+ if ((pContext != NULL) && (init() == 0)) {
U_PORT_MUTEX_LOCK(gMutex);
|
fixed clear and removed calls | @@ -827,9 +827,9 @@ QvisSimulationWindow::UpdateUIComponent(QWidget *window, const QString &name,
if (ui->inherits("QListWidget"))
{
- QListWidget* tWidget = ((QListWidget*)ui);
+ QListWidget* lWidget = ((QListWidget*)ui);
- tWidget->setEnabled(true);
+ lWidget->setEnabled(true);
unsigned int row;
std::string text;
@@ ... |
[lr] cmd file available | #define LR_CORENAME "Neko Project II kai"
#define LR_LIBVERSION NP2VER_CORE
-#define LR_VALIDFILEEXT "d88|88d|d98|98d|fdi|xdf|hdm|dup|2hd|tfd|nfd|hd4|hd5|hd9|fdd|h01|hdb|ddb|dd6|dcp|dcu|flp|img|ima|bin|fim|thd|nhd|hdi|vhd|sln|hdn|m3u"
+#define LR_VALIDFILEEXT "d88|88d|d98|98d|fdi|xdf|hdm|dup|2hd|tfd|nfd|hd4|hd5|hd9|fdd... |
Use hook-mode=auto when deploying to minikube
fanotify is already used if available, there's no reason why this should
be forced. Putting it in auto allows this rule to be used on
minikube installations that don't support fanotify (like the one used in
the cloud native bpf workshop) | @@ -166,7 +166,7 @@ minikube-install: gadget-container kubectl-gadget
docker save $(CONTAINER_REPO):$(IMAGE_TAG) $(PV) | (eval $(shell $(MINIKUBE) -p minikube docker-env | grep =) && docker load)
# Remove all resources created by Inspektor Gadget.
./kubectl-gadget undeploy || true
- ./kubectl-gadget deploy --hook-mode=... |
Fix documented max. length for info buffer in HKDF
This limit was increased with ("Increase
HKDF_MAXBUF from 1024 to 2048").
CLA: trivial | @@ -99,7 +99,7 @@ A context for HKDF can be obtained by calling:
EVP_PKEY_CTX *pctx = EVP_PKEY_CTX_new_id(EVP_PKEY_HKDF, NULL);
-The total length of the info buffer cannot exceed 1024 bytes in length: this
+The total length of the info buffer cannot exceed 2048 bytes in length: this
should be more than enough for any n... |
Remove stray debugging message. | @@ -353,7 +353,6 @@ interface_up(struct interface *ifp, int up)
}
}
}
- printf("Type: %d\n", type);
/* Type is CONFIG_TYPE_AUTO if interface is not known to be
wireless, so provide sane defaults for that case. */
|
add saner defaults to config | //***********************************************RECEIVER SETTINGS******************************************************
// *************Receiver protocol selection //todo: add missing radio protocols from bobnova and make them all jive with new rx_init function in drv_rx_serial.c
-//#define RX_SBUS
+#define RX_SBUS
//... |
graph-store: turned off signatures for now | hash.post `calculated-hash
signatures.post
?. =(our.bowl author.post.node) ~
- %- ~(gas in *signatures:store)
- :_ ~
- :+ `@ux`(sign:as:crub:crypto calculated-hash)
- our.bowl
- .^(=life %j /=life/(scot %p our.bowl))
+ %- ~(gas in *signatures:store) ~
+ :::_ ~
+ :: TODO: how to sign a message using our private key?
+ :... |
workflows: use apt-get | @@ -49,8 +49,8 @@ jobs:
steps:
- name: Setup environment
run: |
- sudo apt update
- sudo apt install -y gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr libyaml-dev
+ sudo apt-get update
+ sudo apt-get install -y gcc-7 g++-7 clang-6.0 libsystemd-dev gcovr libyaml-dev
sudo ln -s /usr/bin/llvm-symbolizer-6.0 /usr/bin/llvm-symb... |
dm-hook: transform indices | +$ state-0 [%0 base-state-0]
+$ card card:agent:gall
+$ nodes (map index:store node:store)
+++ orm orm:store
--
::
=| state-0
?. =(our.bowl ship) ship
entity.rid
::
+ ++ update-indices
+ |= [pfix=index:store =graph:store]
+ =* loop $
+ ^- graph:store
+ %+ gas:orm *graph:store
+ %+ turn (tap:orm graph)
+ |= [=atom =node... |
microbit bsp: fix split linker script typo | @@ -25,7 +25,7 @@ bsp.linkerscript:
bsp.linkerscript.BOOT_LOADER.OVERWRITE:
- "hw/bsp/bbc_microbit/boot-nrf51xxac.ld"
- "hw/mcu/nordic/nrf51xxx/nrf51.ld"
-bsp.part2linkerscript: "hw/bsp/bbc_microbit/split-nrf51dk.ld"
+bsp.part2linkerscript: "hw/bsp/bbc_microbit/split-microbit.ld"
bsp.downloadscript: hw/bsp/bbc_microbit... |
hv: vtd: init DMAR/IR table address when register
Initialize root_table_addr/ir_table_addr of dmar uint when register the dmar uint.
So no need to check if they are initialzed or not later.
Acked-by: Eddie Dong | @@ -450,6 +450,8 @@ static int32_t dmar_register_hrhd(struct dmar_drhd_rt *dmar_unit)
dmar_unit->cap_num_fault_regs = iommu_cap_num_fault_regs(dmar_unit->cap);
dmar_unit->cap_fault_reg_offset = iommu_cap_fault_reg_offset(dmar_unit->cap);
dmar_unit->ecap_iotlb_offset = iommu_ecap_iro(dmar_unit->ecap) * 16U;
+ dmar_unit-... |
input: better coverage comparisons | @@ -247,8 +247,7 @@ bool input_parseDictionary(honggfuzz_t* hfuzz) {
struct strings_t* str = (struct strings_t*)util_Malloc(sizeof(struct strings_t) + len + 1);
memcpy(str->s, bufv, len);
str->len = len;
- str->s[len] = '\0';
- hfuzz->mutate.dictionaryCnt += 1;
+ hfuzz->mutate.dictionaryCnt++;
TAILQ_INSERT_TAIL(&hfuzz-... |
Add reset to the oc OBT sample.
Tested-by: IoTivity Jenkins | @@ -65,6 +65,7 @@ public class ObtMain {
menu.append("[7] Provision ACE2\n");
menu.append("------------------------------------------------\n");
menu.append("[8] RESET device\n");
+ menu.append("[9] RESET OBT\n");
menu.append("------------------------------------------------\n");
menu.append("[9] Exit\n");
menu.append(... |
metadata-pull-hook: move watches to +on-init | met ~(. mdl bowl)
hc ~(. +> bowl)
::
-++ on-init on-init:def
+++ on-init
+ :_ this
+ :~ watch-invites:hc
+ watch-contacts:hc
+ watch-store:hc
+ ==
+::
++ on-save !>(state)
++ on-load
|= =vase
=+ !<(old=state-zero vase)
- :_ this(state old)
- %- zing
- :~ ?: (~(has by wex.bowl) [/invites our.bowl %invite-store]) ~
- ~[w... |
posix: Implement pthread_rwlock_destroy() | @@ -615,8 +615,8 @@ int pthread_rwlock_init(pthread_rwlock_t *__restrict, const pthread_rwlockattr_t
}
int pthread_rwlock_destroy(pthread_rwlock_t *) {
- __ensure(!"Not implemented");
- __builtin_unreachable();
+ // TODO: make sure the lock is the unlocked state.
+ return 0;
}
int pthread_rwlock_trywrlock(pthread_rwloc... |
drbg: add handling for cases where TSAN isn't available
Most of the DRGB code is run under lock from the EVP layer. This is relied
on to make the majority of TSAN operations safe. However, it is still necessary
to enable locking for all DRBGs created. | @@ -837,6 +837,10 @@ PROV_DRBG *ossl_rand_drbg_new
goto err;
}
}
+#ifdef TSAN_REQUIRES_LOCKING
+ if (!ossl_drbg_enable_locking(drbg))
+ goto err;
+#endif
return drbg;
err:
|
interface: add more collections stories, fix test flake | @@ -8,7 +8,8 @@ import BigIntOrderedMap from '@urbit/api/lib/BigIntOrderedMap';
import { GraphNode } from '@urbit/api';
import useMetadataState from '~/logic/state/metadata';
import { makeComment } from '~/logic/lib/fixtures';
-import moment from 'moment';
+
+const HOUR = 60*60 * 1000;
export default {
title: 'Collecti... |
Increment version - testing | @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 2)
define(_CLIENT_VERSION_MINOR, 0)
-define(_CLIENT_VERSION_REVISION, 7)
+define(_CLIENT_VERSION_REVISION, 8)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 20... |
Fix a Windows warning. | @@ -2581,7 +2581,7 @@ usrsctp_bindx(struct socket *so, struct sockaddr *addrs, int addrcnt, int flags)
}
}
#endif
- if (usrsctp_setsockopt(so, IPPROTO_SCTP, flags, sa, sa_len) != 0) {
+ if (usrsctp_setsockopt(so, IPPROTO_SCTP, flags, sa, (socklen_t)sa_len) != 0) {
return (-1);
}
sa = (struct sockaddr *)((caddr_t)sa + s... |
fix(sticky keys): simplify timer management | @@ -53,7 +53,8 @@ struct active_sticky_key active_sticky_keys[ZMK_BHV_STICKY_KEY_MAX_HELD] = {};
static struct active_sticky_key *store_sticky_key(u32_t position, u32_t param1, u32_t param2,
const struct behavior_sticky_key_config *config) {
for (int i = 0; i < ZMK_BHV_STICKY_KEY_MAX_HELD; i++) {
- if (active_sticky_ke... |
Fix VMS installation - Document in CHANGES.md | @@ -70,6 +70,15 @@ OpenSSL 3.1
*Sergey Kirillov, Andrey Matyukov (Intel Corp)*
+### Changes between 3.0.0 and 3.0.1 [xx XXX xxxx]
+
+ * Corrected a few file name and file reference bugs in the build,
+ installation and setup scripts, which lead to installation verification
+ failures. Slightly enhanced the installation... |
Updated typedecl.declare to include expected and received argument counts in the error message.
Debugging things in the parser is a bit tricky. One thing that might help is editing the error
message in typedecl.lua to say what was the expected number and how many arguments were received. | @@ -68,7 +68,9 @@ function typedecl.declare(module, mod_name, type_name, constructors)
local function cons(...)
local args = table.pack(...)
if args.n ~= #fields then
- error("wrong number of arguments for " .. cons_name)
+ error(string.format(
+ "wrong number of arguments for %s. Expected %d but received %d.",
+ cons_... |
Fix broken test suite when iwgetid command isn't available. | @@ -2672,7 +2672,10 @@ test_wifi_status_cb(
// Range check input...
if (wifi_data)
+ {
memset(wifi_data, 0, sizeof(pappl_wifi_t));
+ wifi_data->state = PAPPL_WIFI_STATE_OFF;
+ }
if (!system)
{
@@ -2695,10 +2698,13 @@ test_wifi_status_cb(
// Fill in the Wi-Fi status... This code only returns the 'not-configured' or
// '... |
OcBootManagementLib: Fix compilation warnings | @@ -46,10 +46,8 @@ InternalLoadBootEntry (
EFI_STATUS Status;
EFI_STATUS OptionalStatus;
EFI_DEVICE_PATH_PROTOCOL *DevicePath;
- EFI_DEVICE_PATH_PROTOCOL *HandleFilePath;
CHAR16 *UnicodeDevicePath;
EFI_LOADED_IMAGE_PROTOCOL *LoadedImage;
- EFI_HANDLE DeviceHandle;
VOID *EntryData;
UINT32 EntryDataSize;
|
test: i2c: verify I2C lock with invalid port
Verify I2C locks fail for an invalid port.
BRANCH=none
TEST=twister
Code-Coverage: Zoss | @@ -22,6 +22,17 @@ ZTEST_USER(i2c, test_i2c_port_count)
I2C_PORT_COUNT);
}
+ZTEST_USER(i2c, test_i2c_lock_invalid_port)
+{
+ i2c_lock(-1, 1);
+ zassert_equal(i2c_port_is_locked(-1), 0,
+ "Negative I2C port locked, but should have failed");
+
+ i2c_lock(INT_MAX, 1);
+ zassert_equal(i2c_port_is_locked(INT_MAX), 0,
+ "MAX... |
FEC: reduce packet reduction overhead | protoop_arg_t stream_bytes_max(picoquic_cnx_t* cnx) {
size_t bytes_max = get_cnx(cnx, CNX_AK_INPUT, 0);
- size_t header_length = get_cnx(cnx, CNX_AK_INPUT, 1);
// FIXME there is one more byte than needed (?) in the overhead, but without it, it doesn't work. Find out why
- size_t overhead = 1 + header_length + (DEFAULT_... |
fix(api_ethereum.c):
According to "load_existed_wallet" to determine whether to execute keyCreat | @@ -67,6 +67,7 @@ BoatEthWallet *BoatEthWalletInit(const BoatEthWalletConfig *config_ptr, BUINT32
//Configure priKey context information
// if(config_ptr->prikeyCtx_config.prikey_content.field_ptr != NULL)
+ if(config_ptr->load_existed_wallet == false)
{
if(BOAT_SUCCESS != BoatPort_keyCreate(&config_ptr->prikeyCtx_conf... |
apps/s_socket.c: print only dynamically allocated port in do_server.
For formal backward compatibility print original "ACCEPT" message for
fixed port and "ACCEPT host:port" for dynamically allocated. | @@ -283,7 +283,8 @@ int do_server(int *accept_sock, const char *host, const char *port,
BIO_ADDRINFO_free(res);
res = NULL;
- {
+ if (BIO_ADDR_rawport(sock_address) == 0) {
+ /* dynamically allocated port, report which one */
union BIO_sock_info_u info;
char *hostname = NULL;
char *service = NULL;
@@ -309,6 +310,9 @@ i... |
Fix log output for bash function assert in utils.sh | @@ -161,7 +161,7 @@ function assert( )
{
if [ $TEST_OK -eq 0 ]; then
# Test already failed, do not even read log file (may be from prev run)
- report_skip "$NAME"
+ report_skip "$1"
return
else
do_assert "$1" "$2" 1
|
VERSION bump to version 1.4.103 | @@ -46,7 +46,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 102)
+set(SYSREPO_MICRO_VERSION 103)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_... |
lib: mbedtls: disable check of Perl | @@ -27,7 +27,7 @@ set(NULL_ENTROPY_WARNING "${WARNING_BORDER}"
"${NULL_ENTROPY_WARN_L3}"
"${WARNING_BORDER}")
-find_package(Perl)
+#find_package(Perl)
if(PERL_FOUND)
# If NULL Entropy is configured, display an appropriate warning
|
params: add integer conversion test cases. | @@ -48,8 +48,16 @@ static const struct {
size_t len;
unsigned char value[MAX_LEN];
} raw_values[] = {
+ { 1, { 0x47 } },
+ { 1, { 0xd0 } },
+ { 2, { 0x01, 0xe9 } },
+ { 2, { 0xff, 0x53 } },
+ { 3, { 0x16, 0xff, 0x7c } },
+ { 3, { 0xa8, 0x9c, 0x0e } },
{ 4, { 0x38, 0x27, 0xbf, 0x3b } },
{ 4, { 0x9f, 0x26, 0x48, 0x22 } }... |
Update logo url in readme. | <div align="center">
- <a href="https://metacall.io" target="_blank"><img src="/deploy/images/logo.png" alt="M E T A C A L L" style="max-width:100%;" width="32" height="32">
+ <a href="https://metacall.io" target="_blank"><img src="https://raw.githubusercontent.com/metacall/core/develop/deploy/images/logo.png" alt="M E... |
VERSION bump to version 2.1.47 | @@ -64,7 +64,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 2)
set(SYSREPO_MINOR_VERSION 1)
-set(SYSREPO_MICRO_VERSION 46)
+set(SYSREPO_MICRO_VERSION 47)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
kernel/binary_manager: Add missing BP recovery update and version update
Add a flag for BP recovery
Set updated BP data in g_bp_info when BP data is updated
Update version after header verification is done | @@ -205,6 +205,7 @@ static int binary_manager_load(int bin_idx)
printf("[Binary Loading] Invalid Signature, name : %s, address : %p\n", BIN_NAME(bin_idx), BIN_PARTADDR(bin_idx, (BIN_USEIDX(bin_idx))));
if (--bin_count > 0) {
BIN_USEIDX(bin_idx) ^= 1;
+ need_update_bp = true;
printf("[Binary Loading] Try to read another... |
Cleanup treat_strings_as_paths | @@ -39,7 +39,7 @@ import Data.Semigroup (Semigroup(..)) -- includes (<>)
import Data.Text (Text)
import Foreign.Lua
( Lua, NumResults (..), getglobal, getmetatable, nth, pop, rawset, remove
- , setfield, top )
+ , top )
import Foreign.Lua.Call
import Foreign.Lua.Module hiding (preloadModule, pushModule)
import Foreign.... |
Use DATAFARi_USER and DATAFARI_HOME var in scripts that did not use them | @@ -782,7 +782,7 @@ for file_entry in "${file_array[@]}"
echo $file_entry
zip -qd $file_entry org/apache/logging/log4j/core/lookup/JndiLookup.class
chmod 775 $file_entry
- chown datafari $file_entry
+ chown ${DATAFARI_USER} $file_entry
done
fi
|
Dockerfiles: Bump bcc image tag.
We recently merged a commit in our bcc's fork to synchronize the JSON key with
recent modifications in Inspektor Gadget [1].
This commit uses the last flavour of our fork image.
[1] | @@ -6,7 +6,7 @@ ARG BUILDER_IMAGE=debian:bullseye
# BCC built from the gadget branch in the kinvolk/bcc fork.
# See BCC section in docs/CONTRIBUTING.md for further details.
-ARG BCC="quay.io/kinvolk/bcc:7d56a6f6920826a62a3cc0dc7fc302bf3cdf2618-focal-release"
+ARG BCC="quay.io/kinvolk/bcc:b3b9bd12109fefce4dc31314cecdaea... |
dev-tools/scipy: use new numpy module name | @@ -90,7 +90,7 @@ module load openblas
module load fftw
%endif
-module load numpy
+module load %{python_module_prefix}numpy
%if %{compiler_family} == intel
cat > site.cfg << EOF
@@ -125,7 +125,7 @@ LDSHARED="icc -shared" \
module load openblas
%endif
-module load numpy
+module load %{python_module_prefix}numpy
%__pytho... |
doc[validation]: remove header
resolves issue | ----
-author: Markus Raab <elektra@markus-raab.org>
-brief: Describes validation capabilities of Elektra.
-tags: validation, spec, metadata
-review: pending
----
-
# Validation
## Introduction
|
dill: if styled prompt has no style, emit as plain
People using older runtimes might not support the %klr blit. It's not
uncommon for prompts without style to get passed in as %pom though, so
here we catch that case and turn it into a %pro, which gets rendered as
a traditional %lin. | =. see [%lin p.bit]
(done %blit [see [%hop pos] ~])
?: ?=($pom -.bit)
+ ::NOTE treat "styled prompt" without style as plain prompt,
+ :: to allow rendering by older runtimes
+ ::TODO remove me once v0.10.9+ has high/guaranteed adoption
+ ::
+ ?: (levy p.bit (cork head |*(s=stye =(*stye s))))
+ $(bit [%pro (zing (turn p... |
Update brew java version to JDK 11
Refs
Refs | @@ -208,8 +208,8 @@ make it avaliable from the `PATH`:
```bash
brew tap homebrew/cask-versions
-brew install adoptopenjdk/openjdk/adoptopenjdk8
-export JAVA_HOME="$(/usr/libexec/java_home --version 1.8)"
+brew install adoptopenjdk/openjdk/adoptopenjdk11
+export JAVA_HOME="$(/usr/libexec/java_home --version 1.11)"
expor... |
Indicate that -s can also be used for TCP/IP | @@ -221,6 +221,13 @@ scrcpy --serial 0123456789abcdef
scrcpy -s 0123456789abcdef # short version
```
+If the device is connected over TCP/IP:
+
+```bash
+scrcpy --serial 192.168.0.1:5555
+scrcpy -s 192.168.0.1:5555 # short version
+```
+
You can start several instances of _scrcpy_ for several devices.
#### SSH tunnel
|
Optimize for JSON for string prevalence and more tweaks | @@ -574,6 +574,33 @@ size_t fiobj_json2obj(fiobj_s **pobj, const void *data, size_t len) {
}
goto has_obj;
}
+ if (start[0] == '"') {
+ /* object is a string (require qoutes) */
+ start++;
+ end++;
+ uint8_t dirty = 0;
+ while (move_to_quote(&end, stop)) {
+ end += 2;
+ dirty = 1;
+ }
+ if (end >= stop) {
+ goto error;... |
try "master.zip" | @@ -10,7 +10,7 @@ Group: Misc
License: MIT
URL: https://github.com/indigo-dc/oidc-agent
# use `make rpmsource` to generate the required tarball
-Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/tags/v%{version}.tar.gz
+Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/heads/master.zip
BuildRequ... |
clarify addition of verbosity level mentioned in | @@ -75,7 +75,7 @@ concurrently.
.TP
.B \-v
Increase verbosity. If given multiple times, more information is logged.
-This is in addition to the verbosity (if any) from the config file.
+This is added to the verbosity (if any) from the config file.
.TP
.B \-V
Show the version number and build options, and exit.
|
hdata/i2c: Fix 512Kb EEPROM size
There's no such thing as a 412Kb EEPROM. | @@ -105,7 +105,7 @@ static struct hdat_i2c_type hdat_i2c_devs[] = {
{ 0xb, "eeprom", "atmel,24c256" },
{ 0xc, "i2c", NULL }, /* Thermal Sensor */
{ 0xd, "eeprom", "atmel,24c04" },
- { 0xe, "eeprom", "atmel,24c412" },
+ { 0xe, "eeprom", "atmel,24c512" },
{ 0xf, "eeprom", "atmel,24c32" },
{ 0x10, "eeprom", "atmel,24c64" ... |
BugID:19944826: update help info | @@ -97,7 +97,7 @@ static struct cli_command diffcmd = {
};
static struct cli_command otacmd = { .name = "OTA_APP",
- .help = "OTA_APP pk dn ps",
+ .help = "OTA_APP pk dn ds ps",
.function = handle_ota_cmd };
#endif
|
Exit neat_pvd_handle_newaddr function if DNS packet creation fails | @@ -528,7 +528,7 @@ neat_pvd_handle_newaddr(struct neat_ctx *ctx,
free(reverse_ip);
free(pvd_result);
neat_log(ctx, NEAT_LOG_ERROR, "%s - Could not create DNS packet", __func__);
- continue;
+ return;
}
struct pvd_async_query *async_query;
|
NOTE.WIN: suggest the audetecting configuration variant as well | 5. From the root of the OpenSSL source directory enter
perl Configure VC-WIN32 if you want 32-bit OpenSSL or
- perl Configure VC-WIN64A if you want 64-bit OpenSSL
+ perl Configure VC-WIN64A if you want 64-bit OpenSSL or
+ perl Configure to let Configure figure out the platform
6. nmake
|
actions: use setup-* actions to prepare java, ruby, python env | @@ -25,6 +25,18 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - uses: actions/setup-java@v1
+ with:
+ java-version: '14' # The JDK version to make available on the path.
+ java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
+ architecture: x64 # (x64 or x86) - defaults to x64
+ - uses: actions/setup-python@v2
+... |
io-bindings: add overview | *
* @section async Asynchronous I/O with Elektra
*
- * This section contains useful details for creating I/O bindings and using the
- * operations provided by these bindings.
+ * @subsection Overview
+ *
+ * I/O bindings allow Elektra and its plugins to integrate into different main
+ * loop APIs using a thin abstracti... |
Change defined(_HF_ARCH_LINUX) -> defined(__linux__) for public includes | @@ -27,7 +27,7 @@ extern "C" {
*/
void HF_ITER(const uint8_t ** buf_ptr, size_t * len_ptr);
-#if defined(_HF_ARCH_LINUX)
+#if defined(__linux__)
/*
* Enter Linux namespaces
@@ -48,7 +48,7 @@ extern "C" {
*/
bool linuxMountTmpfs(const char *dst);
-#endif /* defined(_HF_ARCH_LINUX) */
+#endif /* defined(__linux__) */
#if... |
Document imgtool release process | @@ -32,6 +32,19 @@ During the time between rc1 and the final release, the only changes
that should be merged into master are those to fix bugs found in the
rc and Mynewt metadata as described in the next section.
+## imgtool release
+
+imgtool is released through pypi.org (The Python package index) and
+requires that i... |
fix generated cmakelists when using `set_languages("c++latest")` | @@ -450,6 +450,7 @@ function _add_target_languages(cmakelists, target)
, cxx14 = "cxx_std_14"
, cxx17 = "cxx_std_17"
, cxx20 = "cxx_std_20"
+ , cxxlatest = "cxx_std_23"
}
local languages = target:get("languages")
if languages then
|
tests: internal: gelf: add test case for msec
It detects | @@ -50,7 +50,52 @@ void test_gelf_pack()
msgpack_sbuffer_destroy(&mp_sbuf);
}
+#define EXPECTED_OUT_MSEC \
+ "{\"version\":\"1.1\", \"short_message\":\"true, 2019, str\", \"_t2\":\"false\", \"timestamp\":337647600.012}"
+
+/* https://github.com/fluent/fluent-bit/issues/3727 */
+void test_gelf_pack_msec()
+{
+ msgpack_s... |
Change signature of PersistPaymentsAsync | @@ -152,12 +152,10 @@ public abstract class PayoutHandlerBase
}
}
- protected async Task PersistPaymentsAsync(Balance[] balances, string[] transactionConfirmations)
+ protected async Task PersistPaymentsAsync(Dictionary<Balance, string> balances)
{
Contract.RequiresNonNull(balances);
- Contract.RequiresNonNull(transact... |
Avoid clobbering CMAKE_C_FLAGS for bist tool
Set CMAKE_C_FLAGS for bist tool to include ${CMAKE_C_FLAGS} to avoid overriding default flags | @@ -29,7 +29,7 @@ include_directories(${OPAE_INCLUDE_DIR}
add_executable(bist_app bist_afu.c)
set_install_rpath(bist_app)
-set(CMAKE_C_FLAGS "-std=c99")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99")
target_link_libraries(bist_app opae-c json-c uuid rt ${CMAKE_THREAD_LIBS_INIT})
install(TARGETS bist_app
|
viofs-svc: fixed ReadDirectory behaviour | @@ -1446,6 +1446,7 @@ static NTSTATUS ReadDirectory(FSP_FILE_SYSTEM *FileSystem,
Remains = read_out->hdr.len - sizeof(struct fuse_out_header);
if (Remains == 0)
{
+ // A successful request with no data means no more entries.
break;
}
@@ -1471,7 +1472,7 @@ static NTSTATUS ReadDirectory(FSP_FILE_SYSTEM *FileSystem,
if (F... |
Changed default ws2812 freq to 800khz | @@ -29,7 +29,7 @@ namespace plasma {
public:
static const uint SERIAL_FREQ_400KHZ = 400000;
static const uint SERIAL_FREQ_800KHZ = 800000;
- static const uint DEFAULT_SERIAL_FREQ = SERIAL_FREQ_400KHZ;
+ static const uint DEFAULT_SERIAL_FREQ = SERIAL_FREQ_800KHZ;
enum class COLOR_ORDER {
RGB,
RBG,
|
ur: refactors indirect-atom (re-)allocation | @@ -482,16 +482,12 @@ _coin_unsafe(ur_atoms_t *atoms, ur_mug mug, uint8_t *byt, uint64_t len)
uint64_t fill = atoms->fill;
ur_tag tag = ur_iatom;
ur_nref tom = ( fill | ((uint64_t)tag << 62) );
- uint8_t *copy = malloc(len);
// XX necessary?
//
assert( 62 >= ur_met0_64(fill) );
- assert(copy);
- memcpy(copy, byt, len);... |
Note about macOS limitations | @@ -23,7 +23,7 @@ Iodine is an **evented** framework with a simple API that builds off the low lev
* Iodine can handle **thousands of concurrent connections** (tested with more then 20K connections)!
-* Iodine supports only **Linux/Unix** based systems (i.e. macOS, Ubuntu, FreeBSD etc'), which are ideal for evented IO ... |
silence coverity issue
coverity complains about an invalid type in argument to printf
format specifier. Although this is obviously a false positive,
a simple cast should prevent coverity from complaining. | @@ -63,7 +63,7 @@ struct framework_logger {
#define framework_logIfError(logger, status, error, fmsg, args...) \
if (status != CELIX_SUCCESS) { \
if (error != NULL) { \
- fw_logCode(logger, OSGI_FRAMEWORK_LOG_ERROR, status, #fmsg";\n Cause: %s", ## args, error); \
+ fw_logCode(logger, OSGI_FRAMEWORK_LOG_ERROR, status, ... |
Adjust which GHC versions are used on Travis CI
Testing with all major GHC versions doesn't add much value, remove two
older versions (but always test with the oldest supported version). | @@ -14,18 +14,10 @@ matrix:
- env: GHCVER=7.10.3 CABALVER=1.22 LUAVER=default
compiler: ": #GHC 7.10.3"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
- # Test GHC 8.0.2
- - env: GHCVER=8.0.2 CABALVER=1.24 LUAVER=default
- compiler: ": #GHC 8.0.2"
- addons: {apt: {packages: [cabal-instal... |
netMutex becomes RWMutex, protects some additional reads. | @@ -61,12 +61,12 @@ type serialConnection struct {
var messageQueue chan networkMessage
var outSockets map[string]networkConnection
var dhcpLeases map[string]string
-var netMutex *sync.Mutex
+var netMutex *sync.RWMutex
var totalNetworkMessagesSent uint32
var pingResponse map[string]time.Time // Last time an IP responde... |
decision: improve confusing sentence | @@ -63,7 +63,7 @@ For each solution a proposal, rationale and optionally implications should be gi
- Now it is allowed to have the decision from the previous round in the "Decision" section.
> For decisions "In Progress", unlike "In Discussion", also the solution space next to the problem is clear.
-> It is the highest... |
readability: '.port=port' isn't helpful, it's just 53 | @@ -285,11 +285,11 @@ const dnsconnect = {ns
match ns
| `Ipv4 bits:
- sa4=[.fam=sys.Afinet, .addr=bits, .port=hosttonet(port)]
+ sa4=[.fam=sys.Afinet, .addr=bits, .port=hosttonet(53)]
sa = (&sa4 : sys.sockaddr#)
sz = sizeof(sys.sockaddr_in)
| `Ipv6 bits:
- sa6=[.fam=sys.Afinet6, .addr=bits, .port=hosttonet(port)]
+ sa6... |
improve package.tools.meson | @@ -56,7 +56,7 @@ function _get_configs(package, configs, opt)
table.insert(configs, "--libdir=lib")
-- set build type
- table.insert(configs, "--buildtype=" .. (package:debug() and "debug" or "release"))
+ table.insert(configs, "-Dbuildtype=" .. (package:debug() and "debug" or "release"))
-- add -fpic
if package:is_pl... |
Highlight selected option if show_selected is false | @@ -825,12 +825,10 @@ static lv_design_res_t lv_dropdown_page_design(lv_obj_t * page, const lv_area_t
draw_box(ddlist, &clip_area_core, ext->pr_opt_id, LV_STATE_PRESSED);
}
- if(ext->show_selected) {
draw_box(ddlist, &clip_area_core, ext->sel_opt_id, LV_STATE_DEFAULT);
}
}
}
- }
/*Post draw when the children are drawn*... |
Use strtol instead of atoi in asn1parse | @@ -113,13 +113,13 @@ int asn1parse_main(int argc, char **argv)
offset = strtol(opt_arg(), NULL, 0);
break;
case OPT_LENGTH:
- length = atoi(opt_arg());
+ length = strtol(opt_arg(), NULL, 0);
break;
case OPT_DUMP:
dump = -1;
break;
case OPT_DLIMIT:
- dump = atoi(opt_arg());
+ dump = strtol(opt_arg(), NULL, 0);
break;
c... |
Increase size of swap testing images
Make images slightly larger to allow more swap status metadata to be
written to flash, to increase amount of debugging info and possibility
of failures on random write fails. | @@ -140,8 +140,8 @@ impl ImagesBuilder {
pub fn make_no_upgrade_image(self) -> Images {
let mut flash = self.flash;
let images = self.slots.into_iter().map(|slots| {
- let primaries = install_image(&mut flash, &slots, 0, 32784, false);
- let upgrades = install_image(&mut flash, &slots, 1, 41928, false);
+ let primaries... |
OcAppleKernelLib: Fix TSC/FSB for AMD CPUs in ProvideCurrentCpuInfo | @@ -1418,6 +1418,19 @@ PatchProvideCurrentCpuInfo (
//
// Perform TSC and FSB calculations. This is traditionally done in tsc.c in XNU.
//
+ // For AMD Processors
+ if ((CpuInfo->Family == 0xF) && ((CpuInfo->ExtFamily == 0x8) || (CpuInfo->ExtFamily == 0xA))) {
+ DEBUG ((DEBUG_INFO, "OCAK: Setting FSB and TSC for Family... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.