message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
interface: profiles would intermittently show contact information when they should not, fixes this | @@ -80,6 +80,7 @@ export function ChatResource(props: ChatResourceProps) {
}, [station]);
const [showBanner, setShowBanner] = useState(false);
+ const [hasLoadedAllowed, setHasLoadedAllowed] = useState(false);
const [recipients, setRecipients] = useState([]);
const res = resourceFromPath(groupPath);
@@ -123,6 +124,8 @@... |
Try not specifying a commit ID | @@ -7,7 +7,8 @@ COMMIT_ID=03674790ae42c0d3675c5b462c52988f67454e11
cd ..
git clone --branch master --single-branch --shallow-submodules --recurse-submodules --no-tags https://github.com/h2o/picotls
cd picotls
-git checkout "$COMMIT_ID"
+# git checkout "$COMMIT_ID"
+git checkout
# git submodule init
# git submodule upda... |
Add a few more intended features. | @@ -18,6 +18,8 @@ Basic WIP website to learn more: https://zmk.netlify.app/
- Layer Tap
- One Shot
+- Combos
+- Tap Dance
- Shell over BLE?
- Split support
- custom kscan driver? that recieves events from other side over BLE notifications?
|
Fix prototypes of parameter-less functions
GCC does want to complain about parameter-less functions declared
without the recommended `void` as parameter list. | @@ -109,11 +109,11 @@ mi_decl_export size_t mi_good_size(size_t size) mi_attr_noexcept;
mi_decl_export void mi_collect(bool force) mi_attr_noexcept;
mi_decl_export void mi_stats_print(FILE* out) mi_attr_noexcept;
-mi_decl_export void mi_stats_reset() mi_attr_noexcept;
+mi_decl_export void mi_stats_reset(void) mi_attr_n... |
Fix some commands that did not playback correctly from PBR
During playback of a PBR file, some commands (such as "show -topology")
were using the local PMTT on the system rather than the recorded PMTT
located in the PBR file that was recorded on the other system. | @@ -3301,13 +3301,19 @@ GetAcpiPMTT(
EFI_STATUS ReturnCode = EFI_INVALID_PARAMETER;
#ifdef OS_BUILD
UINT32 Size = 0;
+ PbrContext *pContext = PBR_CTX();
#endif
if (ppPMTTtbl == NULL) {
goto Finish;
}
#ifdef OS_BUILD
+ if (PBR_PLAYBACK_MODE == PBR_GET_MODE(pContext)) {
+ ReturnCode = PbrGetTableRecord(pContext, PBR_RECO... |
account for overlapping pairs | @@ -315,7 +315,7 @@ void BedGenomeCoverage::CoverageBam(string bamFile) {
AddCoverage(bam.MatePosition, end);
}
else if (bam.IsFirstMate() && bam.IsMateReverseStrand()) { //prolong to the mate to the right
- AddCoverage(start, start + bam.InsertSize - 1);
+ AddCoverage(start, start + abs(bam.InsertSize) - 1);
}
} else ... |
feat[#1136]:Distinguish between XY1100-R13 and R14 | @@ -64,7 +64,7 @@ SCRIPTS_PARAM += "BOAT_PROTOCOL_USE_ETHEREUM=$(BOAT_PROTOCOL_USE_ETHEREUM)" \
# - ChinaMobile-ML302 : China Mobile's LTE Cat.1 module
# - ChinaMobile-ML302v2 : China Mobile's LTE Cat.1 module API version 2
# - MTK-MT3620 : MTK MT3620
-# - XinYi-XY1100 : XY1100
+# - XinYi-XY1100 : XY1100 R13
# - Fiboco... |
iOS compile fix
`crt_externs.h` is available only available with iOS-13 sdk. we
therefore add a `__has_include` check to see if it is actually available | @@ -422,7 +422,7 @@ static bool mi_getenv(const char* name, char* result, size_t result_size) {
#elif !defined(MI_USE_ENVIRON) || (MI_USE_ENVIRON!=0)
// On Posix systemsr use `environ` to acces environment variables
// even before the C runtime is initialized.
-#if defined(__APPLE__)
+#if defined(__APPLE__) && defined(... |
RemoteContent: fix store access | @@ -2,10 +2,11 @@ import React, { Component, Fragment } from 'react';
import { BaseAnchor, BaseImage, Box, Button, Text } from '@tlon/indigo-react';
import { hasProvider } from 'oembed-parser';
import EmbedContainer from 'react-oembed-container';
-import { withSettingsState } from '~/logic/state/settings';
+import useS... |
Debugging: print min/max in debug mode | * Enrico Fucile *
***************************************************************************/
#include "grib_api_internal.h"
+#include <float.h>
/* Note: A fast cut-down version of strcmp which does NOT return -1 */
/* 0 means input strings are equal and 1 means not equal */
@@ -708,15 +709,25 @@ static int __grib_set... |
lib/lego: add Technic large angular motor ID
Add Technic Medium Angular Motor (Design ID 69730, "motor no.15") | @@ -474,6 +474,9 @@ typedef enum {
/** Technic Medium Angular Motor */
LUMP_TYPE_ID_TECHNIC_M_ANGULAR_MOTOR = 75,
+ /** Technic Large Angular Motor */
+ LUMP_TYPE_ID_TECHNIC_L_ANGULAR_MOTOR = 76,
+
} lump_type_id_t;
/**
|
Fix wrong labeled fields for advanced search | @@ -198,4 +198,4 @@ crawl_date
EXACTFIELDS=
AUTOCOMPLETEFIELDS={}
FIXEDVALUESFIELDS={}
-LABELED_FIELDS={"author_search":"Author Declared", "authorTokens":"Author Detected", "content_en":"Content in English", "content_fr":"Content in French", "content_es":"Content in Spanish", "content_de":"Content in German", "descript... |
Test whitespace attribute value with dodgy allocator | @@ -7380,6 +7380,39 @@ START_TEST(test_alloc_realloc_long_attribute_value)
#undef MAX_REALLOC_COUNT
END_TEST
+START_TEST(test_alloc_attribute_whitespace)
+{
+ const char *text = "<doc a=' '></doc>";
+ int i;
+#define MAX_ALLOC_COUNT 10
+ int repeat = 0;
+
+ for (i = 0; i < MAX_ALLOC_COUNT; i++) {
+ /* Repeat some count... |
kernel/binary_manager: Add tcb to a binary thread list before task activation in pthread_create
If a caller thread is blocked by pthread_sem_take, binary_manager_remove_binlist is called first by executing the new created thread before adding the tcb to a list by binary_manager_add_binlist.
So it should be added to a b... | @@ -451,6 +451,11 @@ int pthread_create(FAR pthread_t *thread, FAR const pthread_attr_t *attr, pthrea
sched_lock();
if (ret == OK) {
+#if defined(CONFIG_BINARY_MANAGER) && defined(CONFIG_APP_BINARY_SEPARATION)
+ /* Add tcb to binary thread list */
+
+ binary_manager_add_binlist(&ptcb->cmn);
+#endif
ret = task_activate(... |
ioam: fix Coverity issue
Initialize outer_fib_index variable to zero to avoid coverity warning. | @@ -466,7 +466,7 @@ api_vxlan_gpe_ioam_transit_disable (vat_main_t * vam)
ip6_address_t local6;
u8 ipv4_set = 0, ipv6_set = 0;
u8 local_set = 0;
- u32 outer_fib_index;
+ u32 outer_fib_index = 0;
f64 timeout;
|
console: Console example prints the correct chip model
This commit updates the console example's components so that
the correct chip model name is printed instead of "Unknown"
Closes
Update chip names, used const char, updated commit message] | @@ -66,11 +66,34 @@ void register_system(void)
/* 'version' command */
static int get_version(int argc, char **argv)
{
+ const char *model;
esp_chip_info_t info;
esp_chip_info(&info);
+
+ switch(info.model) {
+ case CHIP_ESP32:
+ model = "ESP32";
+ break;
+ case CHIP_ESP32S2:
+ model = "ESP32-S2";
+ break;
+ case CHIP_... |
Fix loading of small WFM files | @@ -62,6 +62,8 @@ int ConnectionSTREAM::UploadWFM(const void* const* samples, uint8_t chCount, siz
FinishDataSending((char*)&pkt, bToSend , context);
}
delete[] batch;
+ /*Give FX3 some time to load samples to FPGA*/
+ std::this_thread::sleep_for(std::chrono::milliseconds(10));
if(cnt == 0)
return 0;
else
|
add version constraint for hwloc under suse to avoid pulling in non-installable
version from sdk | @@ -71,7 +71,11 @@ BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: libtool-ltdl-devel
+%if %{defined suse_version}
+BuildRequires: hwloc-devel < 2.0
+%else
BuildRequires: hwloc-devel
+%endif
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libedit-devel
|
Fixed building by GCC 7 (broken in 0b10a73d4993). | @@ -681,11 +681,9 @@ static void
nxt_router_listen_socket_create(nxt_task_t *task, void *obj, void *data)
{
nxt_listen_event_t *listen;
- nxt_event_engine_t *engine;
nxt_listen_socket_t *ls;
nxt_socket_conf_joint_t *joint;
- engine = obj;
joint = data;
ls = &joint->socket_conf->listen;
@@ -864,7 +862,7 @@ nxt_router_th... |
[ArgoUI] 0.3.2 | Pod::Spec.new do |s|
s.name = 'ArgoUI'
- s.version = '0.3.1'
+ s.version = '0.3.2'
s.summary = 'A lib of Momo Lua UI.'
# This description is used to generate tags and improve search results.
|
admin/docs: bump for v2.5 | %include %{_sourcedir}/OHPC_macros
Name: docs%{PROJ_DELIM}
-Version: 2.4.0
+Version: 2.5.0
Release: 1
Summary: OpenHPC documentation
License: BSD-3-Clause
|
Test converted start of name with unknown encoding | @@ -5358,7 +5358,8 @@ START_TEST(test_unknown_encoding_success)
{
const char *text =
"<?xml version='1.0' encoding='experimental'?>\n"
- "<d\x80oc>Hello, world</d\x80oc>";
+ /* Equivalent to <eoc>Hello, world</eoc> */
+ "<\x81\x64\x80oc>Hello, world</\x81\x64\x80oc>";
XML_SetUnknownEncodingHandler(parser, BadEncodingHa... |
flash_fp_mcu: Unlock flash before programming it
Also, add a short sleep before stm32mon, which seems to make
programming more reliable.
BRANCH=none
TEST=bash flash_fp_mcu ec.bin works on first attempt with protected
flash. | @@ -69,8 +69,9 @@ echo "in" > /sys/class/gpio/gpio${GPIO_NRST}/direction
echo "${SPIID}" > /sys/bus/spi/drivers/cros-ec-spi/bind
echo "${SPIID}" > /sys/bus/spi/drivers/spidev/bind
+sleep 0.5
-stm32mon -p -s ${SPIDEV} -e -w $1
+stm32mon -u -p -s ${SPIDEV} -e -w $1
# unload spidev
echo "${SPIID}" > /sys/bus/spi/drivers/s... |
Add allow usage of deprecated headers to the C++14 framework tests | @@ -139,6 +139,7 @@ if (ENABLE_TESTING_FOR_CXX14)
add_executable(test_framework_with_cxx14 ${CELIX_FRAMEWORK_TEST_SOURCES})
target_link_libraries(test_framework_with_cxx14 PRIVATE Celix::framework CURL::libcurl GTest::gtest GTest::gtest_main)
+ celix_deprecated_utils_headers(test_framework_with_cxx14)
add_celix_bundle_... |
tree data DOC wrong parameter name | @@ -1966,7 +1966,7 @@ typedef LY_ERR (*lyd_merge_cb)(struct lyd_node *trg_node, const struct lyd_node
* @param[in,out] target Target data tree to merge into, must be a top-level tree.
* @param[in] source Source data tree to merge, must be a top-level tree.
* @param[in] mod Module, whose source data only to consider, NU... |
3 colons should fails URI parsing | "auth": null,
"options": null
},
- {
- "description": "Username with password containing an unescaped colon",
- "uri": "mongodb://alice:foo:bar@127.0.0.1",
- "valid": false,
- "warning": null,
- "hosts": null,
- "auth": null,
- "options": null
- },
{
"description": "Username containing an unescaped at-sign",
"uri": "mo... |
ip: reassembly: avoid corruption in vnet buffer
Avoid corrupt next_index in vnet_buffer by moving input and output
variables into different memory places instead of sharing a common
space.
Type: fix
Fixes: | @@ -185,8 +185,9 @@ typedef struct
/* reassembly */
union
{
- /* group input/handoff as handoff is done before input is consumed,
- * this way we can handoff while keeping input variables intact */
+ /* group input/output/handoff to simplify the code, this way:
+ * we can handoff while keeping input variables intact
+ ... |
examples/tls_server: fix unclosed socket problem.
If tls server would be executed double at the same time,
bind or listen socket can't be released properly.
Change the client_fd and listned_fd values from global
to local variable. | @@ -785,6 +785,7 @@ int psk_callback(void *p_info, mbedtls_ssl_context *ssl, const unsigned char *na
}
#endif /* MBEDTLS_KEY_EXCHANGE__SOME__PSK_ENABLED */
+#if 0
static mbedtls_net_context listen_fd, client_fd;
/* Interruption handler to ensure clean exit (for valgrind testing) */
@@ -798,6 +799,7 @@ void term_handler... |
CI simulation tests: cleaner output and simplified test logic | TESTS=$(wildcard ??-*.csc)
TESTLOGS=$(patsubst %.csc,%.testlog,$(TESTS))
-LOGS=$(patsubst %.csc,%.log,$(TESTS))
-FAILLOGS=$(patsubst %.csc,%.*.faillog,$(TESTS))
+# The random seed to start from
+BASESEED ?= 1
# The number of runs (with different random seeds)
RUNCOUNT ?= 1
@@ -38,25 +38,20 @@ CONTIKI=../..
tests: $(TES... |
docs: biotop: Update guide to reflect gadget output. | @@ -15,9 +15,8 @@ The gadget doesn't support the following flags:
$ kubectl gadget biotop --node ip-10-0-30-247 --all-namespaces
14:28:17 loadavg: 0.53 0.32 0.34 8/528 43043
-
-PID COMM D MAJ MIN DISK I/O Kbytes AVGms
-1860 etcd W 253 0 vda 3 24 0.38
+NAMESPACE POD CONTAINER PID COMM D MAJ MIN DISK I/O Kbytes AVGms
+ku... |
sysdeps/managarm: Handle ENOSYS for sys_sigaction | @@ -79,8 +79,12 @@ int sys_sigaction(int number, const struct sigaction *__restrict action,
managarm::posix::SvrResponse<MemoryAllocator> resp(getSysdepsAllocator());
resp.ParseFromArray(recv_resp->data, recv_resp->length);
- if(resp.error() == managarm::posix::Errors::ILLEGAL_ARGUMENTS)
+ if(resp.error() == managarm::... |
jenkins.daily: force removal of docker images | @@ -175,7 +175,11 @@ def dockerImages() {
}
def retainNewestImages(image, n) {
- sh "docker images ${image} --format \"{{.Repository}} {{.Tag}}\" | sort -k 2,2 | head -n -${n} | awk \'BEGIN{OFS=\":\"} {print \$1,\$2}' | xargs -r -n1 docker rmi"
+ sh """docker images ${image} --format \"{{.Repository}} {{.Tag}}\" \
+| s... |
Fix builds with CUPS 2.x. | @@ -90,7 +90,7 @@ papplSubscriptionCreate(
const char *username, // I - Owner
const char *language, // I - Language
const void *data, // I - User data, if any
- int datalen, // I - Length of user data
+ size_t datalen, // I - Length of user data
int interval, // I - Notification interval
int lease) // I - Lease duratio... |
peview: Add nested certificates group | @@ -210,8 +210,9 @@ VOID PvpPeEnumerateNestedSignatures(
WCHAR number[PH_INT32_STR_LEN_1];
PhPrintUInt32(number, ++(*Count));
- lvItemIndex = PhAddListViewItem(
+ lvItemIndex = PhAddListViewGroupItem(
ListViewHandle,
+ 1,
MAXINT,
number,
(PVOID)certificateContext
@@ -266,8 +267,9 @@ VOID PvpPeEnumerateFileCertificates(... |
Rename AtkUnknownButton | @@ -974,7 +974,7 @@ classes:
vtbl: 0x14169CA08
funcs:
0x140533230: ctor
- Component::GUI::AtkComponentUnknownButton:
+ Component::GUI::AtkComponentHoldButton:
inherits_from: Component::GUI::AtkComponentButton
vtbl: 0x14169CAA8
funcs:
|
VERSION bump to version 1.3.22 | @@ -31,7 +31,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 3)
-set(SYSREPO_MICRO_VERSION 21)
+set(SYSREPO_MICRO_VERSION 22)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Add buffer overflow check | @@ -390,6 +390,9 @@ static psa_status_t cipher_update( mbedtls_psa_cipher_operation_t *operation,
status = mbedtls_to_psa_error(
mbedtls_cipher_update( &operation->ctx.cipher, input,
input_length, output, output_length ) );
+
+ if( *output_length > output_size )
+ return PSA_ERROR_CORRUPTION_DETECTED;
}
return( status ... |
feat(fabric parameters check):
when creat fabric wallet, checke parameters "genMode" | @@ -207,6 +207,12 @@ BSINT32 BoatWalletCreate(BoatProtocolType protocol_type, const BCHAR *wallet_nam
case BOAT_PROTOCOL_HWBCS:
if (wallet_config_ptr != NULL)
{
+ if(((BoatHlfabricWalletConfig*)wallet_config_ptr)->accountPriKey_config.prikey_genMode != BOAT_WALLET_PRIKEY_GENMODE_EXTERNAL_INJECTION &&
+ ((BoatHlfabricWa... |
survey & who is using list | @@ -130,6 +130,18 @@ Read more about Security [here](SECURITY.md).
[Reference Materials](https://github.com/nanovms/nanos/wiki/reference-materials)
+### Feedback
+
+How are you using Nanos? Take this very short survey and help us grow
+the project. It will take just a minute but help us out!
+
+[Feedback Form](https://... |
scripts/dev: fixed formatting | This devcontainer folder is specifically for visual studio code developers. Nonetheless you can also take advantage of the Dockerfile only if you are not using vscode. This Dockerfile is inspired after GETSTARTED.md
## For vscode users
+
If you copy this folder to your root working directory and install the extension R... |
Fix bug with base vertex in Pass:mesh; | @@ -766,7 +766,7 @@ static int l_lovrPassMesh(lua_State* L) {
int index = luax_readmat4(L, indices ? 4 : 3, transform, 1);
uint32_t start = luax_optu32(L, index++, 1) - 1;
uint32_t count = luax_optu32(L, index++, ~0u);
- uint32_t instances = luax_optu32(L, index, 1);
+ uint32_t instances = luax_optu32(L, index++, 1);
u... |
ble_mesh: remove non-standard relay opearation | @@ -1195,15 +1195,6 @@ static void bt_mesh_net_relay(struct net_buf_simple *sbuf,
transmit = bt_mesh_relay_retransmit_get();
} else {
transmit = bt_mesh_net_transmit_get();
- if (rx->net_if == BLE_MESH_NET_IF_PROXY &&
- transmit < BLE_MESH_TRANSMIT(5, 20)) {
- /**
- * Add this in case EspBleMesh APP just send a message... |
[wrap] add SecondOrderDS in the hierarchy of directors | @@ -1321,8 +1321,8 @@ if (!dcast) {
SP::DynamicalSystem ds = mds;
PyObject** _tmpobj = &resultobj;
%formacro(%_factory_dispatch_SP, FirstOrderLinearTIDS, FirstOrderLinearDS, FirstOrderNonLinearDS)
- %formacro(%_factory_dispatch_SP, LagrangianLinearTIDS, LagrangianDS)
- %formacro(%_factory_dispatch_SP, NewtonEulerDS)
+ ... |
dm: mei: use LIST_FOREACH() to traverse lists
Remove the uses of LIST_FIRST() and LIST_NEXT() plus an extra pointer.
Also, call LIST_INIT() in vmei_me_client_destroy_host_clients() before
releasing the mutex.
v1 -> v2:
split the cleanup commit into two parts
Acked-by: Anthony Xu | @@ -502,17 +502,14 @@ vmei_del_me_client(struct vmei_me_client *mclient)
static void
vmei_me_client_destroy_host_clients(struct vmei_me_client *mclient)
{
- struct vmei_host_client *e, *n;
+ struct vmei_host_client *e;
pthread_mutex_lock(&mclient->list_mutex);
- e = LIST_FIRST(&mclient->connections);
- while (e) {
- n ... |
hfuzz_cc: add -lBlocksRuntime at the end of linking | @@ -217,9 +217,6 @@ static int ldMode(int argc, char **argv)
args[j++] = "-Wl,--whole-archive";
args[j++] = LHFUZZ_A_PATH;
args[j++] = "-Wl,--no-whole-archive";
-#if defined(__clang__)
- args[j++] = "-lBlocksRuntime";
-#endif /* defined(__clang__) */
if (isGCC) {
args[j++] = "-fsanitize-coverage=trace-pc";
} else {
@@ ... |
SOVERSION bump to version 7.8.14 | @@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 7)
set(SYSREPO_MINOR_SOVERSION 8)
-set(SYSREPO_MICRO_SOVERSION 13)
+set(SYSREPO_MICRO_S... |
Update drv_i2c.c | #ifdef RT_USING_I2C_BITOPS
-struct stm32_i2c_bit_data
+struct lpc_i2c_bit_data
{
struct
{
@@ -44,7 +44,7 @@ struct stm32_i2c_bit_data
static void gpio_set_sda(void *data, rt_int32_t state)
{
- struct stm32_i2c_bit_data *bd = data;
+ struct lpc_i2c_bit_data *bd = data;
if (state)
{
@@ -59,7 +59,7 @@ static void gpio_set... |
INI: Simplify crash test | @@ -4,16 +4,12 @@ The following Markdown Shell Recorder test checks that the INI plugin does not c
not properly formatted.
```sh
-sudo kdb mount config_crash_test.ini user/examples/ini ini
-
for file in $(find -E src/plugins/ini/crash_test -regex '.*crash[0-9]{3}.ini$'); do \
- cp -f "$file" "$(kdb file user/examples/i... |
Match safety order from master
This will cause a merge conflict with the tesla branch. | // ********************* includes *********************
#include "libc.h"
+#include "safety.h"
#include "provision.h"
#include "drivers/drivers.h"
#include "drivers/uart.h"
#include "drivers/adc.h"
#include "drivers/usb.h"
+#include "drivers/gmlan_alt.h"
+#include "drivers/can.h"
#include "drivers/spi.h"
#include "driv... |
Fix `UIColor.hexString` | @@ -12,24 +12,36 @@ extension UIColor {
/// Returns an hexadecimal color representation as String.
var hexString: String {
- let colorRef = cgColor.components
- let r = colorRef?[0] ?? 0
- let g = colorRef?[1] ?? 0
- let b = ((colorRef?.count ?? 0) > 2 ? colorRef?[2] : g) ?? 0
- let a = cgColor.alpha
+ var r: CGFloat =... |
Fixed issue where XFF parser could swallow an additional field.
This would depend what field follows the XFF field and the delimeters
involded.
Closes | @@ -1551,16 +1551,22 @@ static int
find_xff_host (GLogItem * logitem, char **str, char **p) {
char *ptr = NULL, *tkn = NULL, *skips = NULL;
int invalid_ip = 1, len = 0, type_ip = TYPE_IPINV;
+ int idx = 0, skips_len = 0;
if (!(skips = extract_braces (p)))
return spec_err (logitem, SPEC_SFMT_MIS, **p, "{}");
+ skips_len... |
codegen: try to fix menu example test | @@ -39,7 +39,7 @@ do_tests() {
succeed_if "application didn't read empty menu correctly"
EXPECTED_MENU=$(mktemp)
- cat <<- 'EOF' > "$EXPECTED_MENU"
+ cat <<- 'EOF' | tr -d '\n' > "$EXPECTED_MENU"
Main Menu:
[1] Menu 1
@@ -73,7 +73,7 @@ do_tests() {
ACTUAL_MENU=$(mktemp)
- : | ./application > "$ACTUAL_MENU"
+ : | ./appl... |
Yan LR: Report all error messages from ANTLR | @@ -44,10 +44,7 @@ void ErrorListener::syntaxError (Recognizer * recognizer __attribute__ ((unused)
std::exception_ptr error __attribute__ ((unused)))
{
using std::to_string;
- if (errorMessage.empty ())
- {
- errorMessage = source + ":" + to_string (line) + ":" + to_string (charPositionInLine) + ": " + message;
- }
+ ... |
Set upper limit to 1e6 | @@ -2047,8 +2047,8 @@ int grib_util_grib_data_quality_check(grib_handle* h, double val)
char shortName[256]={0,};
size_t len = sizeof(shortName);
- /*const double MIN_FIELD_VALUE_ALLOWED = -2e7;*/
- const double MAX_FIELD_VALUE_ALLOWED = +2e7;
+ /* const double MIN_FIELD_VALUE_ALLOWED = -1e6; */
+ const double MAX_FIEL... |
Fixups in CHANGES.md
Fixed one ambiguous line and removed a few unnecessary backticks. | @@ -43,9 +43,9 @@ OpenSSL 3.0
*Richard Levitte*
- * `ASN1_verify()`, `ASN1_digest()` and `ASN1_sign()` have been deprecated.
+ * ASN1_verify(), ASN1_digest() and ASN1_sign() have been deprecated.
They are old functions that we don't use, and that you could disable with
- the macro `NO_ASN1_OLD`. This goes all the way b... |
Update inpfile.c
Trying to isolate bug | @@ -121,8 +121,8 @@ void saveauxdata(Project *pr, FILE *f)
InFile = NULL;
}
-void write_demands(Project *pr, FILE *f) {
+void write_demands(Project *pr, FILE *f) {
int i, j;
Snode *node = NULL;
@@ -142,6 +142,7 @@ void write_demands(Project *pr, FILE *f) {
node = &net->Node[i];
if (node->D) {
for (lnode = first_list(no... |
cpptemplate: fix contract order | - infos/provides = storage/info
- infos/recommends =
- infos/placements = getstorage
-- infos/status = experimental maintained unittest nodep nodoc concept
+- infos/status = maintained unittest nodep experimental nodoc concept
- infos/metadata =
- infos/description = A template for C++ based plugins
|
not necessary to set attention to 0, happens in the next step and not in Inference | @@ -15,8 +15,7 @@ Event Inference_BeliefIntersection(Event *a, Event *b)
.type = EVENT_TYPE_BELIEF,
.truth = Truth_Intersection(truthA, truthB),
.stamp = conclusionStamp,
- .occurrenceTime = conclusionTime,
- .attention = {0} };
+ .occurrenceTime = conclusionTime };
}
//{Event a., Event b.} |- Implication <a =/> c>.
@@... |
warn about -g when using BAM input in genomecov | @@ -184,6 +184,10 @@ int genomecoverage_main(int argc, char* argv[]) {
cerr << endl << "*****" << endl << "*****ERROR: Need both a BED (-i) and a genome (-g) file. " << endl << "*****" << endl;
showHelp = true;
}
+ // make sure we have both input files
+ if (bamInput && haveGenome) {
+ cerr << endl << "*****" << endl <... |
Fix compile breaking due to merge conflict | @@ -58,6 +58,11 @@ case class SpikeCoreParams(
val rasEntries = 0
val btbEntries = 0
val bhtEntries = 0
+ val traceHasWdata = false
+ val useBitManip = false
+ val useBitManipCrypto = false
+ val useCryptoNIST = false
+ val useCryptoSM = false
override def vLen = 128
override def vMemDataBits = 128
|
virtio: vhost checksum problem for ipv6
When checksum is enable for IPv6, it erroneously set the flag
VNET_BUFFER_F_OFFLOAD_IP_CKSUM. That flag is meant for ip4 packets only.
Type: fix
Ticket: | @@ -275,14 +275,14 @@ vhost_user_handle_rx_offload (vlib_buffer_t * b0, u8 * b0_data,
vnet_buffer (b0)->l4_hdr_offset = hdr->csum_start;
b0->flags |= (VNET_BUFFER_F_L2_HDR_OFFSET_VALID |
VNET_BUFFER_F_L3_HDR_OFFSET_VALID |
- VNET_BUFFER_F_L4_HDR_OFFSET_VALID |
- VNET_BUFFER_F_OFFLOAD_IP_CKSUM);
+ VNET_BUFFER_F_L4_HDR_O... |
Fix Remove coreflightsystem sight references | @@ -23,6 +23,6 @@ Version description document contains references to internal repositories and so
## Getting Help
-The cFS community page http://coreflightsystem.org should be your first stop for getting help. Please post questions to http://coreflightsystem.org/questions/. There is also a forum at http://coreflightsy... |
Fix correct MCF dependencies in pom | <dependency>
<groupId>org.apache.manifoldcf</groupId>
<artifactId>mcf-core</artifactId>
- <version>2.8.1</version>
+ <version>2.10</version>
</dependency>
<dependency>
<groupId>org.apache.manifoldcf</groupId>
<artifactId>mcf-pull-agent</artifactId>
- <version>2.8.1</version>
+ <version>2.10</version>
</dependency>
<dep... |
hv: remove an unnecessary code line
This patch is to eliminate a code scan warning.
p_elf_header32 was given a value when it was declared, but later it was
given the same value again. Just remove the later one. | @@ -89,7 +89,6 @@ static void *do_load_elf32(struct acrn_vm *vm)
void *elf_entry = NULL, *p_elf_bss = NULL;
uint32_t i;
- p_elf_header32 = (struct elf32_hdr *)p_elf_img;
/* Currently only ET_EXEC is supported */
if (p_elf_header32->e_type == ET_EXEC) {
p_prg_tbl_head32 = (struct elf32_prog_entry *)(p_elf_img + p_elf_he... |
Fixed GLITCH_RTC_RST for esp32-c3 revision 3
* Issue:
Closes
Closes | @@ -273,7 +273,8 @@ static inline void bootloader_glitch_reset_disable(void)
uint8_t chip_version = bootloader_common_get_chip_revision();
if (chip_version < 2) {
REG_SET_FIELD(RTC_CNTL_FIB_SEL_REG, RTC_CNTL_FIB_SEL, RTC_CNTL_FIB_SUPER_WDT_RST);
- } else if (chip_version == 2) {
+ } else {
+ // checked on ESP32-C3 revi... |
build: Make fast tests really fast
Only do tests that can be run parallelized and finish fast during
the quick test stage. Other tests are done during the full runs later
anyway. | @@ -161,14 +161,15 @@ def generate_elektra_builds_fast() {
DOCKER_IMAGES.stretch,
BUILD_FLAGS_STANDARD +
BUILD_FLAGS_ALL +
- BUILD_FLAGS_JAVA
+ BUILD_FLAGS_JAVA,
+ [TEST_NOKDB]
)
tasks << test(
- "debian-unstable-log",
+ "debian-unstable-fast",
DOCKER_IMAGES.sid,
BUILD_FLAGS_STANDARD +
BUILD_FLAGS_DEBUG,
- [TEST_ALL, T... |
posix: Reduced fd table on STM32 | #include "posix_private.h"
#include "../lib/cbuffer.h"
+#ifdef CPU_STM32
+#define MAX_FD_COUNT 8
+#else
#define MAX_FD_COUNT 512
+#endif
//#define TRACE(str, ...) lib_printf("posix %x: " str "\n", proc_current()->process->id, ##__VA_ARGS__)
#define TRACE(str, ...)
|
BugID:18028258:rebase tinyengine from 1.3.0 to latest alios things and remove common dependence | @@ -6,10 +6,10 @@ $(NAME)_SUMMARY := an engine for javascript application development
$(NAME)_SOURCES := tinyengine_app.c
#choose JSE_TINYENGINE OR JSE_DUKTAPE here
-#export AOS_CONFIG_TINYENGINE_TYPE=JSE_DUKTAPE
-export AOS_CONFIG_TINYENGINE_TYPE=JSE_TINYENGINE
+export AOS_CONFIG_TINYENGINE_TYPE=JSE_DUKTAPE
+#export A... |
Run setcap on commands using SO_BINDTODEVICE | @@ -8,9 +8,9 @@ URL: http://e2epi.internet2.edu/owamp/
Source: %{name}-%{version}.tar.gz
Packager: Aaron Brown <aaron@internet2.edu>
%if 0%{?el7}
-BuildRequires: libtool, I2util, openssl-devel, systemd, selinux-policy-devel
+BuildRequires: libtool, I2util, libcap-devel, openssl-devel, systemd, selinux-policy-devel
%els... |
SOVERSION bump to version 5.6.8 | @@ -53,7 +53,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 5)
set(SYSREPO_MINOR_SOVERSION 6)
-set(SYSREPO_MICRO_SOVERSION 7)
+set(SYSREPO_MICRO_SO... |
artik053: s/s5j_gpioinitialize/board_gpio_initialize/
The name of s5j_gpioinitialize() seems so ambiguous that does not
represent its characteristics of board-specific. Let's rename it for
better consistency, removing the prefix 's5j'. | ****************************************************************************/
/****************************************************************************
- * Name: s5j_gpioinitialize
+ * Name: board_gpio_initialize
*
* Description:
* Expose board dependent GPIOs
*******************************************************... |
in_node_exporter_metrics: release lists after update | @@ -133,7 +133,9 @@ static int stat_update(struct flb_ne *ctx)
ne_utils_str_to_double(s_val->str, &d_val);
cmt_gauge_set(ctx->st_procs_blocked, ts, d_val, 0, NULL);
}
+ flb_slist_destroy(&split_list);
}
+ flb_slist_destroy(&list);
return 0;
}
|
Support attribute reporting for Climax lights | @@ -1173,6 +1173,9 @@ void DeRestPluginPrivate::checkLightBindingsForAttributeReporting(LightNode *lig
else if (lightNode->modelId() == QLatin1String("SP 120"))
{
}
+ else if (lightNode->manufacturer().startsWith(QLatin1String("Climax")))
+ {
+ }
else
{
return;
|
Tools: use '%zu' in the format string for size_t | @@ -48,42 +48,42 @@ int main(int argc, char** argv)
vlat = (double*)malloc(npoints * sizeof(double));
if (!vlat) {
- printf("unable to allocate %lu bytes\n", npoints * sizeof(double));
+ printf("unable to allocate %zu bytes\n", npoints * sizeof(double));
exit(1);
}
vlon = (double*)malloc(npoints * sizeof(double));
if (... |
fix: HTTP_BAD_REQUEST shouldn't abort | @@ -109,13 +109,13 @@ on_failure_cb(
switch (httpcode) {
case HTTP_FORBIDDEN:
case HTTP_NOT_FOUND:
+ case HTTP_BAD_REQUEST:
NOTOP_PRINT("(%d)%s - %s", //print error and continue
httpcode,
http_code_print(httpcode),
http_reason_print(httpcode));
return ACTION_FAILURE;
- case HTTP_BAD_REQUEST:
case HTTP_UNAUTHORIZED:
cas... |
fix many module imports causing GC to pull the rug on our module instance | @@ -446,10 +446,21 @@ static ObjClosure* compileInModule(WrenVM* vm, Value name, const char* source,
{
module = wrenNewModule(vm, AS_STRING(name));
+ // It's possible for the map set call below to resize the modules map,
+ // and trigger a GC while doing so. When this happens and there are enough
+ // objects and modul... |
Fix no-dsa builds
Add a guard in a build.info file for no-dsa builds | @@ -11,4 +11,6 @@ SOURCE[$RSA_GOAL]=serializer_rsa.c serializer_rsa_priv.c serializer_rsa_pub.c
IF[{- !$disabled{dh} -}]
SOURCE[$DH_GOAL]=serializer_dh.c serializer_dh_priv.c serializer_dh_pub.c serializer_dh_param.c
ENDIF
+IF[{- !$disabled{dsa} -}]
SOURCE[$DSA_GOAL]=serializer_dsa.c serializer_dsa_priv.c serializer_ds... |
Remove obsolete btrescan() comment.
"Ordering stuff" refered to a _bt_first() call to _bt_orderkeys().
However, the _bt_orderkeys() function was renamed to
_bt_preprocess_keys() by commit
_bt_preprocess_keys() is directly referenced just after the removed
comment already, which seems sufficient. | @@ -440,8 +440,7 @@ btrescan(IndexScanDesc scan, ScanKey scankey, int nscankeys,
}
/*
- * Reset the scan keys. Note that keys ordering stuff moved to _bt_first.
- * - vadim 05/05/97
+ * Reset the scan keys
*/
if (scankey && scan->numberOfKeys > 0)
memmove(scan->keyData,
|
Jinlon: Initialize keyboard
Initialize the Jinlon keyboard configuration.
TEST=TEst the top row on Jinlon
BRANCH=firmware-hatch-12672.B | #include "gpio.h"
#include "hooks.h"
#include "host_command.h"
+#include "keyboard_8042.h"
#include "lid_switch.h"
#include "power.h"
#include "power_button.h"
@@ -391,6 +392,66 @@ static void board_update_sensor_config_from_sku(void)
gpio_enable_interrupt(GPIO_BASE_SIXAXIS_INT_L);
}
+static const struct ec_response_ke... |
Added missing message for test | @@ -27,6 +27,7 @@ from sbp import user as user
from sbp import imu as imu
from sbp import ext_events as ext_events
from sbp import ndb as ndb
+from sbp import mag as mag
import pytest
import sbp.acquisition as acq
import sbp.logging as log
@@ -37,7 +38,7 @@ def test_table_count():
Test number of available messages to d... |
FEC: ensure that the client loads the FEC framework as soon as possible | @@ -7,7 +7,7 @@ protoop_arg_t connection_state_changed(picoquic_cnx_t *cnx)
{
// We ensure to laod the FEC frameworks and schemes as soon as possible in the connection life
picoquic_state_enum from_state = (picoquic_state_enum) get_cnx(cnx, AK_CNX_INPUT, 0);
- if (from_state == picoquic_state_client_almost_ready || fro... |
add menu item for bake asset | source houdiniEngineAssetLibraryManager;
source houdiniEngineAssetSync;
source houdiniEngineUtils;
+source houdiniEngineBakeAsset;
proc string[] getHoudiniVersions()
{
@@ -251,6 +252,25 @@ houdiniEngine_reloadSelectedAssets()
catchQuiet(`select -replace $old_selection`);
}
+global proc
+houdiniEngine_bakeSelectedAssets... |
Fix freetype library setting; | @@ -45,9 +45,10 @@ endif()
if (EMSCRIPTEN)
add_definitions(-s USE_FREETYPE=1)
elseif (WIN32)
- set(BUILD_SHARED_LIBS OFF)
set(FREETYPE_NO_DIST TRUE CACHE BOOL "")
+ set(BUILD_SHARED_LIBS OFF)
add_subdirectory(deps/freetype freetype)
+ set(BUILD_SHARED_LIBS ON)
include_directories(deps/freetype/include)
set(LOVR_FREETYP... |
Elektra: set ENABLE_OPTIMIZATION to OFF
reason: opmphm integration | @@ -300,7 +300,7 @@ endif ()
option (INSTALL_BUILD_TOOLS "Install build tools for cross-compilation" OFF)
-option (ENABLE_OPTIMIZATIONS "Turn on optimizations that trade memory for speed" ON)
+option (ENABLE_OPTIMIZATIONS "Turn on optimizations that trade memory for speed" OFF)
#
|
All startup error output is now sent to stderr as it should be. | @@ -217,9 +217,9 @@ namespace Miningcore
catch(PoolStartupAbortException ex)
{
if(!string.IsNullOrEmpty(ex.Message))
- Console.WriteLine(ex.Message);
+ await Console.Error.WriteLineAsync(ex.Message);
- Console.WriteLine("\nCluster cannot start. Good Bye!");
+ await Console.Error.WriteLineAsync("\nCluster cannot start. ... |
opae.admin: fpgaflash: make py3.6 compatible
Make changes to support Python 3.6.
Tested with python 3.6 and 2.7:
* run super-rsu to load the temporary max10 on n3000
* run fpgaotsu to migrate to secure
* run rsu | @@ -104,28 +104,25 @@ def check_rpd(ifile):
return pof_hdr[4]
-def reverse_bits(x, n):
- result = 0
- for i in range(n):
- if (x >> i) & 1:
- result |= 1 << (n - 1 - i)
- return result
+if sys.version_info[0] == 2:
+ def reverse_bits(val):
+ return int('{:08b}'.format(ord(val))[::-1], 2)
+else:
+ def reverse_bits(val):... |
Validation: Filter internal metadata of INI plugin
Before this change the tests in the tutorial would not work if we use
INI as default storage. | @@ -120,9 +120,9 @@ kdb setmeta spec/tutorial/spec/test hello world
kdb set /tutorial/spec/test value
#> Using name user/tutorial/spec/test
#> Create a new key user/tutorial/spec/test with string "value"
-kdb lsmeta spec/tutorial/spec/test
+kdb lsmeta spec/tutorial/spec/test | grep -v '^internal/ini'
#> hello
-kdb lsme... |
Fix Error: slcan.c:266:60: error: format specifies type 'unsigned long' but the argument has type 'canid_t' (aka 'unsigned int') [-Werror,-Wformat] | @@ -263,20 +263,23 @@ int main(int argc, char *argv[])
if (nbytes == CAN_MTU)
{
reccount++;
- debug_print("R%d, Id:0x%lX\n", reccount, frame.can_id);
+ debug_print("R%d, Id:0x%" PRIx32 "\n",
+ reccount, frame.can_id);
if (frame.can_id & CAN_EFF_FLAG)
{
/* 29 bit address */
frame.can_id = frame.can_id & ~CAN_EFF_FLAG;
-... |
small fixes + cleaner example explanation [ci skip] | @@ -13,7 +13,7 @@ Where to add transforms
In Chipyard, the FIRRTL compiler is called multiple times to create a "Top" file that contains the DUT and a "Harness" file containing the test harness, which instantiates the DUT.
The "Harness" file does not contain the DUT's module definition or any of its submodules.
-This d... |
doc: Change fpgainfo temp units to Celcius | @@ -27,7 +27,7 @@ Show total the power in watts that the FPGA hardware consumes.
`temp`
- Show FPGA temperature values in degrees Fahrenheit.
+ Show FPGA temperature values in degrees Celcius.
`port`
|
Fix Typo: test/test_mtu.py
first argument of a method should be named 'self'. | @@ -46,9 +46,9 @@ class TestMTU(VppTestCase):
cls.create_pg_interfaces(range(2))
cls.interfaces = list(cls.pg_interfaces)
- def setUp(cls):
- super(TestMTU, cls).setUp()
- for i in cls.interfaces:
+ def setUp(self):
+ super(TestMTU, self).setUp()
+ for i in self.interfaces:
i.admin_up()
i.config_ip4()
i.config_ip6()
|
Once more with a very long line | @@ -205,11 +205,7 @@ detail2_text = truncatestring(detail2_text, DETAILS_TEXT_SIZE,
TEXT_WIDTH - DETAIL_SPACING - display.measure_text(detail2_title, DETAILS_TEXT_SIZE))
# Show overlay if any of the buttons were pressed to wake up the Badger
-if (display.pressed_to_wake(badger2040.BUTTON_A)
- or display.pressed_to_wake... |
Disable OS X builds on Travis | @@ -28,12 +28,6 @@ jobs:
script:
- tests/scripts/all.sh -k test_full_cmake_gcc_asan
- - name: macOS
- os: osx
- compiler: clang
- script:
- - tests/scripts/all.sh -k test_default_out_of_box
-
- name: Windows
os: windows
before_install:
|
hdata/iohub.c: remove condition that was always true
Caught by static analysis. The previous if() condition was ensuring lxr
was not null, so we don't need this additional check. | @@ -82,7 +82,6 @@ static bool io_get_lx_info(const void *kwvpd, unsigned int kwvpd_sz,
return false;
}
- if (lxr)
memcpy(lxrbuf, lxr, sizeof(uint32_t)*2);
prlog(PR_DEBUG, "CEC: LXRn=%d LXR=%08x%08x\n", lx_idx, lxrbuf[0], lxrbuf[1]);
|
Network Hashrate | @@ -263,6 +263,7 @@ namespace Miningcore.Blockchain.Ethereum
var commands = new[]
{
new DaemonCmd(EC.GetPeerCount),
+ new DaemonCmd(EC.GetBlockByNumber, new[] { (object) "latest", true })
};
var results = await daemon.ExecuteBatchAnyAsync(logger, commands);
@@ -278,8 +279,21 @@ namespace Miningcore.Blockchain.Ethereum
... |
Don't crash if there are no trusted certs
The X509_STORE_CTX_init() docs explicitly allow a NULL parameter for the
X509_STORE. Therefore we shouldn't crash if we subsequently call
X509_verify_cert() and no X509_STORE has been set.
Fixes | @@ -264,6 +264,9 @@ int X509_STORE_CTX_get_by_subject(X509_STORE_CTX *vs, X509_LOOKUP_TYPE type,
X509_OBJECT stmp, *tmp;
int i, j;
+ if (ctx == NULL)
+ return 0;
+
CRYPTO_THREAD_write_lock(ctx->lock);
tmp = X509_OBJECT_retrieve_by_subject(ctx->objs, type, name);
CRYPTO_THREAD_unlock(ctx->lock);
@@ -473,6 +476,9 @@ STAC... |
Update svm_functions_f16.h | @@ -132,7 +132,7 @@ typedef struct
const float16_t *dualCoefficients; /**< Dual coefficients */
const float16_t *supportVectors; /**< Support vectors */
const int32_t *classes; /**< The two SVM classes */
- float16_t coef0; /**< Independant constant */
+ float16_t coef0; /**< Independent constant */
float16_t gamma; /*... |
Change dynamic initialization of an iterator in set. | @@ -301,11 +301,10 @@ static int set_contains_any_cb_iterate(set s, set_key key, set_value value, set_
int set_contains_any(set dest, set src)
{
- struct set_contains_any_cb_iterator_type args =
- {
- dest,
- 1
- };
+ struct set_contains_any_cb_iterator_type args;
+
+ args.s = dest;
+ args.result = 1;
set_iterate(src, ... |
media/voice: Remove useless class fields | @@ -46,11 +46,7 @@ public:
bool processEPDFrame(short *sample, int numSample) override;
private:
- MediaRecorder mRecorder;
-
SpeexPreprocessState *mState;
- short mInBuf[CONFIG_VOICE_SOFTWARE_EPD_FRAMESIZE];
- short mOutBuf[CONFIG_VOICE_SOFTWARE_EPD_FRAMESIZE];
int mPreviousVAD;
int mVAD;
};
|
esp32: Adds support for SW breakpoints in flash
Disables app image integrity checks when running under OpenOCD control.
Allows setting breakpoints in flash before application start (just after reset). | @@ -157,11 +157,12 @@ goto err;
data->image_len = end_addr - data->start_addr;
ESP_LOGV(TAG, "image start 0x%08x end of last section 0x%08x", data->start_addr, end_addr);
+ if (!esp_cpu_in_ocd_debug_mode()) {
err = verify_checksum(sha_handle, checksum_word, data);
if (err != ESP_OK) {
goto err;
}
-
+ }
if (data->image_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.