message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
One last output fix for asan test | @@ -48,7 +48,7 @@ jobs:
echo "No leaks detected in picoquic_ct"
fi
./picohttp_ct -n -r 1>http_ct.txt 2>sanity.txt || QUICHTTPRESULT=$?
- echo "running picohttp_ct returns $QUICHTTPRESULT "
+ echo "running picohttp_ct returns <$QUICHTTPRESULT> "
cat sanity.txt
if [ ! -z ${QUICHTTPRESULT} ]; then
if [ ${QUICHTTPRESULT} !... |
website: two minor fixes | @@ -21,7 +21,7 @@ elektra-glossary(7) -- glossary of Elektra
- **Global key database**:
provides global access to all configuration storages
of all applications in a system.
- Abbreviated as ^KDB^.
+ Abbreviated as `KDB`.
- **LibElektra**:
is a set of [libraries](/src/libs/) to access configuration parameters in a glob... |
GH Actions: keep docker image with tag 'latest' up-to-date | @@ -80,11 +80,15 @@ jobs:
MERGE_BRANCH_REF=$(echo ${{ github.ref }} | sed -e 's|refs/heads/||g')
echo This is a build for branch $MERGE_BRANCH_REF and it updates the docker container
echo Push images to Dockerhub
- echo Will push $DOCKER_IMG as well as $DOCKER_BASE_IMG:$MERGE_BRANCH_REF
echo ${{ secrets.DOCKERHUB_PASSW... |
[x86_64] Meson cross-compile template is arch-agnostic | # https://github.com/mesonbuild/meson/issues/309
# axle_repo_root will be filled in when the .ini is generated for the first time
-toolchain_root = axle_repo_root + '/i686-toolchain'
+arch = 'x86_64'
+toolchain_root = axle_repo_root + '/' + arch + '-toolchain'
sysroot = axle_repo_root + '/axle-sysroot'
[properties]
-c_... |
Rename default custom events | "command": "EVENT_CALL_CUSTOM_EVENT",
"args": {
"customEventId": "bc9f67e9-b6f2-4216-b8b6-63505f3b7118",
- "__name": "Configure Menu"
+ "__name": "Init Menu"
},
"children": {
"script": [
"command": "EVENT_CALL_CUSTOM_EVENT",
"args": {
"customEventId": "bc9f67e9-b6f2-4216-b8b6-63505f3b7118",
- "__name": "Configure Menu"... |
Default haptic on cal off | @@ -85,7 +85,7 @@ STATIC_CONFIG_ITEM(CENTER_ON_LH0, "center-on-lh0", 'b',
"Alternative scheme for setting initial position; LH0 is 0, 0 looking in the +X direction", 0)
STATIC_CONFIG_ITEM(HAPTIC_ON_CALIBRATE, "haptic-on-calibrate", 'b',
- "Trigger a haptic pulse when lighthouse positions are solved", 1);
+ "Trigger a h... |
chip/npcx/clock.c: Format with clang-format
BRANCH=none
TEST=none | @@ -79,7 +79,6 @@ void clock_disable_peripheral(uint32_t offset, uint32_t mask, uint32_t mode)
/* Set PD bit to 1 */
NPCX_PWDWN_CTL(offset) |= reg_mask;
-
}
/*****************************************************************************/
@@ -100,8 +99,8 @@ void clock_init(void)
* unstable for a little which can affect p... |
Add tinyalsa to contrib (via yamaker) | - source_filter: "^contrib/libs/libpq"
includes:
- local.h
+
+- source_filter: "^contrib/libs/tinyalsa"
+ # TinyALSA references linux kernel headers for kernel ALSA interface
+ includes:
+ - sound/asound.h
|
doc: update release notes with cpu_affinity notice
The acrn-dm ``--cpu_affinity`` parameter is now mandatory. | @@ -92,7 +92,7 @@ User-Friendly VM names
Extend Use of CAT Cache Tuning to VMs
In previous releases, Cache Allocation Technology (vCAT) was available only
at the hypervisor level and with per-VM granularity. In this v2.7 release,
- each VM with exclusive cache resources can partition its cache resources with
+ each VM ... |
dispatch_removelistener: acquire exclusive lock for closing socks to avoid race in case of UDP connections | @@ -279,8 +279,16 @@ dispatch_removelistener(listener *lsnr)
if (lsnr->transport == W_SSL)
SSL_CTX_free(lsnr->ctx);
#endif
- for (socks = lsnr->socks; *socks != -1; socks++)
+ /* acquire a write lock on connections, which is a bit wrong, but it
+ * ensures all dispatchers are stopped while we close the sockets,
+ * whi... |
Syscalls: stub fchown, fchownat and lchown
We don't need to deal with file ownership.
Closes | @@ -39,8 +39,8 @@ void register_other_syscalls(struct syscall *map)
register_syscall(map, link, 0);
register_syscall(map, chmod, syscall_ignore);
register_syscall(map, fchmod, syscall_ignore);
- register_syscall(map, fchown, 0);
- register_syscall(map, lchown, 0);
+ register_syscall(map, fchown, syscall_ignore);
+ regi... |
Completions: Add suggestions for command `mount` | @@ -172,6 +172,16 @@ function __fish_kdb_subcommand_info_needs_clause_name -d 'Check if the subcomman
and test (__number_arguments_input_left) -eq 3
end
+function __fish_kdb_subcommand_mount_needs_namespace -d 'Check if the subcommand mount needs a namespace completion'
+ __fish_kdb_subcommand_includes mount
+ and test... |
Added additional validation for cluster SETSLOT | @@ -4652,6 +4652,10 @@ NULL
(char*)c->argv[4]->ptr);
return;
}
+ if (nodeIsSlave(n)) {
+ addReplyError(c,"Target node is not a master");
+ return;
+ }
server.cluster->migrating_slots_to[slot] = n;
} else if (!strcasecmp(c->argv[3]->ptr,"importing") && c->argc == 5) {
if (server.cluster->slots[slot] == myself) {
@@ -466... |
added the const back in | @@ -589,7 +589,7 @@ ParallelCoordinatesViewerEnginePluginInfo::InitializePlotAtts(
}
else
{
- Expression *exp =
+ Expression const *exp =
ParsingExprList::GetExpression(plot.GetVariableName());
if (exp == NULL || exp->GetType() != Expression::ArrayMeshVar)
{
|
Fix incorrect maximum vertex streams value. | @@ -1204,7 +1204,7 @@ typedef struct SceGxmPrecomputedDraw {
} SceGxmPrecomputedDraw;
#define SCE_GXM_MAX_VERTEX_ATTRIBUTES 16
-#define SCE_GXM_MAX_VERTEX_STREAMS 4
+#define SCE_GXM_MAX_VERTEX_STREAMS 16
#define SCE_GXM_MAX_TEXTURE_UNITS 16
#define SCE_GXM_MAX_UNIFORM_BUFFERS 8
#define SCE_GXM_MAX_AUXILIARY_SURFACES 3
|
makefile: use pkg-config (when available) to determine openssl flags (helps building on Mac OS X with openssl installed via Mac ports) | @@ -88,6 +88,8 @@ ifndef CPPSTD
CPPSTD:=gnu++11
endif
+PKG_CONFIG ?= pkg-config
+
# for internal use - don't change
LINKER_LIBS_EXT:=
@@ -414,6 +416,14 @@ int main(void) { \\n\
# automatic library adjustments for possible BearSSL library
LIB_PRIVATE_SUBFOLDERS:=$(LIB_PRIVATE_SUBFOLDERS) $(if $(wildcard lib/bearssl),bea... |
Adapt help to terminal size
If the error stream is a terminal, and we can retrieve the terminal
size, wrap the help content according to the terminal width. | #include "util/log.h"
#include "util/strbuf.h"
#include "util/str_util.h"
+#include "util/term.h"
#define STR_IMPL_(x) #x
#define STR(x) STR_IMPL_(x)
@@ -740,7 +741,23 @@ print_shortcut(const struct sc_shortcut *shortcut, unsigned cols) {
void
scrcpy_print_usage(const char *arg0) {
- const unsigned cols = 80; // For no... |
admin/examples: fix install path for nagios compute.cfg example | @@ -55,7 +55,7 @@ install -D -m 0644 %SOURCE5 %{buildroot}%{OHPC_HOME}/pub/examples/slurm/job.mpi
install -D -m 0644 %SOURCE6 %{buildroot}%{OHPC_HOME}/pub/examples/udev/60-ipath.rules
install -D -m 0644 %SOURCE7 %{buildroot}%{OHPC_HOME}/pub/examples/ganglia/gmond.conf
install -D -m 0644 %SOURCE8 %{buildroot}%{OHPC_HOME... |
Documentation for the -precert flag for "openssl req" | @@ -37,6 +37,7 @@ B<openssl> B<req>
[B<-newhdr>]
[B<-extensions section>]
[B<-reqexts section>]
+[B<-precert>]
[B<-utf8>]
[B<-nameopt>]
[B<-reqopt>]
@@ -253,6 +254,14 @@ request extensions. This allows several different sections to
be used in the same configuration file to specify requests for
a variety of purposes.
+=... |
fix v2.0.5 version | -<<<<<<< HEAD
set(mi_version_major 2)
set(mi_version_minor 0)
-set(mi_version_patch 4)
-=======
-set(mi_version_major 1)
-set(mi_version_minor 7)
set(mi_version_patch 5)
->>>>>>> dev
set(mi_version ${mi_version_major}.${mi_version_minor})
set(PACKAGE_VERSION ${mi_version})
|
navigation: Remove acc estimate not implemented note | @@ -435,8 +435,7 @@ definitions:
type: u16
units: mm/s
desc: |
- Velocity accuracy estimate (not implemented). Defaults
- to 0.
+ Velocity accuracy estimate
- n_sats:
type: u8
desc: Number of satellites used in solution
@@ -482,14 +481,12 @@ definitions:
type: u16
units: mm/s
desc: |
- Horizontal velocity accuracy esti... |
Add 'Lib/objc' to 'sys.path' | @@ -797,7 +797,7 @@ int initialize_python(int argc, char *argv[]) {
putenv((char *)[[NSString stringWithFormat:@"ZIPPEDLIB=%@", zippedLib] UTF8String]);
putenv((char *)[[NSString stringWithFormat:@"TMP=%@", NSTemporaryDirectory()] UTF8String]);
putenv((char *)[[NSString stringWithFormat:@"PYTHONHOME=%@", pythonBundle.b... |
anim_util: fix leaks on error
in ReadAnimatedWebP() & ReadAnimatedGIF() when AllocateFrames() fails
due to OOM
Tested:
for i in `seq 1 278`; do
export MALLOC_FAIL_AT=$i
./examples/anim_diff webp1 webp2
./examples/anim_diff gif1 gif2
done | @@ -241,7 +241,7 @@ static int ReadAnimatedWebP(const char filename[],
image->bgcolor = anim_info.bgcolor;
// Allocate frames.
- if (!AllocateFrames(image, anim_info.frame_count)) return 0;
+ if (!AllocateFrames(image, anim_info.frame_count)) goto End;
// Decode frames.
while (WebPAnimDecoderHasMoreFrames(dec)) {
@@ -5... |
updated /doc/news/_preparation_next_release.md
updated contributing-windows.md with hints regarding source code location | @@ -77,3 +77,16 @@ Commands to change your WSL version can be found, for example, in the blog post
For further information, consider the official
[Linux with Visual Studio C++ documentation](https://docs.microsoft.com/en-us/cpp/linux/?view=msvc-160).
+
+If you choose to work with source code residing on a Windows files... |
Python-package: Add one more param check | @@ -265,7 +265,9 @@ class Pool(_PoolBase):
self._check_data_type(data)
self._check_data_empty(data)
if pairs is not None and isinstance(data, STRING_TYPES) != isinstance(pairs, STRING_TYPES):
- raise CatboostError("Data and pairs should be the same types.")
+ raise CatboostError("data and pairs parameters should be the... |
ur: updates +mug | @@ -338,20 +338,23 @@ ur_mug
ur_mug_bytes(const uint8_t *byt, uint64_t len)
{
uint32_t seed = 0xcafebabe;
- ur_mug mug;
+ uint8_t i = 0;
- while ( 1 ) {
+ while ( i < 8 ) {
+ ur_mug mug;
uint32_t raw;
MurmurHash3_x86_32(byt, len, seed, &raw);
mug = (raw >> 31) ^ ( ur_mask_31(raw) );
if ( 0 == mug ) {
- seed++;
+ seed++... |
Fix logging window if bg alpha is 0 | @@ -1024,23 +1024,33 @@ void render_benchmark(swapchain_stats& data, struct overlay_params& params, ImVe
vector<pair<string, float>> benchmark_data = {{"97%", benchmark.ninety}, {"AVG", benchmark.avg}, {"1% ", benchmark.oneP}};
float display_time = float(now - log_end) / 1000000;
- float display_for = 10.0f;
+ static f... |
Make code shorter by using the MATCH macro. | @@ -344,34 +344,13 @@ namespace NJsonWriter {
}
switch (c) {
- case '"':
- UnsafeWriteRawBytes(beg, cur - beg);
- UnsafeWriteRawBytes("\\\"", 2);
- return true;
- case '\\':
- UnsafeWriteRawBytes(beg, cur - beg);
- UnsafeWriteRawBytes("\\\\", 2);
- return true;
- case '\b':
- UnsafeWriteRawBytes(beg, cur - beg);
- Unsa... |
ini: cleanup | @@ -1562,7 +1562,6 @@ int elektraIniSet (Plugin * handle, KeySet * returned, Key * parentKey)
ksRewind (returned);
while ((cur = ksNext (returned)) != NULL)
{
- ELEKTRA_LOG_DEBUG ("INI: set key: %s, %s", keyName (cur), keyString (cur));
if (keyGetMeta (cur, "internal/ini/order"))
{
ksAppendKey (newKS, cur);
@@ -1627,7 ... |
tcmu: add scsi name designator in vpd83 response
[mnc] fixed conflict in first chunk. | @@ -397,6 +397,7 @@ int tcmu_emulate_evpd_inquiry(
char *ptr, *p, *wwn;
size_t len, used = 0;
uint16_t *tot_len = (uint16_t*) &data[2];
+ uint32_t padding;
bool next;
int i;
@@ -498,6 +499,56 @@ int tcmu_emulate_evpd_inquiry(
ptr[6] = (port->grp->id >> 8) & 0xff;
ptr[7] = port->grp->id & 0xff;
used += 8;
+ ptr += 8;
+
... |
Reserve OPAL API numbers for XIVE
(requested by benh) | #define OPAL_XIVE_SET_VP_INFO 138
#define OPAL_XIVE_ALLOCATE_IRQ 139
#define OPAL_XIVE_FREE_IRQ 140
-#define OPAL_LAST 140
+#define OPAL_XIVE_RESERVED1 141
+#define OPAL_XIVE_RESERVED2 142
+#define OPAL_XIVE_RESERVED3 143
+#define OPAL_XIVE_RESERVED4 144
+#define OPAL_LAST 144
/* Device tree flags */
|
correct sample default expression to detect XML HTTP Requests | # to return 401 for requests in an iframe or requests that load an image:
# OIDCUnAuthAction 401 "%{HTTP:Sec-Fetch-Dest} == 'iframe' || %{HTTP:Sec-Fetch-Dest} == 'image'"
# or just as a more complex example, which equals the default XML request detection algorithm:
-# OIDCUnAuthAction 401 "%{HTTP:X-Requested-With} == '... |
Firmware update: Use parameter -t 60 to try harder in difficult setups | @@ -118,7 +118,7 @@ void DeRestPluginPrivate::updateFirmware()
fwProcess = new QProcess(this);
}
- fwProcessArgs << "-f" << fwUpdateFile;
+ fwProcessArgs << "-t" << "60" << "-f" << fwUpdateFile;
fwUpdateState = FW_UpdateWaitFinished;
updateEtag(gwConfigEtag);
|
zero volume->type in ocf_volume_deinit()
After deinitialization of volume there is no need to call back to
type ops. Currently we would erroneously call on_deinit() callback
multiple times if ocf_volume_deinit() is performed more than once,
which we expect to happen and treat as a correct use of API. | @@ -161,6 +161,7 @@ void ocf_volume_deinit(ocf_volume_t volume)
env_free(volume->priv);
volume->priv = NULL;
+ volume->type = NULL;
if (volume->uuid_copy && volume->uuid.data) {
env_vfree(volume->uuid.data);
@@ -191,6 +192,7 @@ void ocf_volume_move(ocf_volume_t volume, ocf_volume_t from)
from->opened = false;
from->pri... |
Minimize `realloc` calls when writing header line | @@ -92,6 +92,8 @@ static int write_header(FIOBJ o, void *w_) {
fio_cstr_s str = fiobj_obj2cstr(o);
if (!str.data)
return 0;
+ fiobj_str_capa_assert(w->dest,
+ fiobj_obj2cstr(w->dest).len + name.len + str.len + 5);
fiobj_str_write(w->dest, name.data, name.len);
fiobj_str_write(w->dest, ":", 1);
fiobj_str_write(w->dest, ... |
Check Bashisms: Reformat file with `shfmt` | @@ -4,7 +4,10 @@ echo
echo ELEKTRA SCRIPTS BASHISMS TEST
echo
-command -v checkbashisms >/dev/null 2>&1 || { echo "checkbashisms command needed for this test, aborting" >&2; exit 0; }
+command -v checkbashisms > /dev/null 2>&1 || {
+ echo "checkbashisms command needed for this test, aborting" >&2
+ exit 0
+}
cd "@CMAKE... |
Changed implementation of vma_aligned_alloc to only use aligned_alloc when C++17 is enabled, where the function is defined.
See
May break on some platforms! If it affects you, please enable C++17 or later in your compiler or provide custom implementation of macro VMA_SYSTEM_ALIGNED_MALLOC (and VMA_SYSTEM_ALIGNED_FREE i... | @@ -2745,11 +2745,17 @@ static void* vma_aligned_alloc(size_t alignment, size_t size)
{
return _aligned_malloc(size, alignment);
}
-#else
+#elif __cplusplus >= 201703L // Compiler conforms to C++17.
static void* vma_aligned_alloc(size_t alignment, size_t size)
{
return aligned_alloc(alignment, size);
}
+#else
+static v... |
Added some missing nids to SceProcessmgr. | @@ -2494,7 +2494,17 @@ modules:
nid: 0x2DD91812
functions:
sceKernelCallAbortHandler: 0xEB6E50BB
+ sceKernelCDialogSessionClose: 0xDB4CC1D0
+ sceKernelCDialogSetLeaseLimit: 0xEC8DDAAD
+ sceKernelGetCurrentProcess: 0xCD248267
+ sceKernelGetExtraTty: 0x2D635A00
+ sceKernelGetProcessName: 0x10C52C95
sceKernelGetProcessPar... |
Note where this needs improvement | @@ -3249,6 +3249,8 @@ static bool handle_in_body(GumboParser* parser, GumboToken* token) {
// TODO(jdtang): Do I need to add a parse error here? The condition in
// the spec seems like it's the inverse of the loop condition above, and
// so would never fire.
+ // XXX(sfc): Yes, an error is needed here
+ // I think <p><... |
move include 'limits.h' outside of definition | @@ -238,13 +238,12 @@ static inline bool mi_malloc_satisfies_alignment(size_t alignment, size_t size)
}
// Overflow detecting multiply
-static inline bool mi_mul_overflow(size_t count, size_t size, size_t* total) {
#if __has_builtin(__builtin_umul_overflow) || __GNUC__ >= 5
#include <limits.h> // UINT_MAX, ULONG_MAX
-#... |
dsync: report when sync is complete
At INFO debug level, it would be useful to report when the dsync
finishes. This allows the user to extract timing data after the fact,
for example when many dsyncs are run through some automated system. | @@ -1923,6 +1923,10 @@ static int dsync_strmap_compare(
}
}
+ if (rank == 0) {
+ MFU_LOG(MFU_LOG_INFO, "Completed updating timestamps");
+ }
+
/* done with our list of files for refreshing metadata */
strmap_delete(&metadata_refresh);
@@ -3398,6 +3402,10 @@ dsync_common_cleanup:
mfu_file_delete(&mfu_src_file);
mfu_file... |
hww/api: simplify protobuf encoding
Use encode_to_vec, recently introduced in Prost. | @@ -50,9 +50,7 @@ pub fn encode(response: Response) -> Vec<u8> {
let response = pb::Response {
response: Some(response),
};
- let mut out = Vec::<u8>::new();
- response.encode(&mut out).unwrap();
- out
+ response.encode_to_vec()
}
/// Decodes a protofbuf Request message.
|
Add a way to garbage collect the files | @@ -24,6 +24,7 @@ extern "C" {
/// Keeping the shared directory clean:
/// - to avoid clashes in the shared directory, plugins are encourraged to organize their files in
/// sub-folders, for example create one subdirectory using the vendor name
+/// - don't use symbolic links or hard links which points outside of the d... |
Go operators. | %ignore tinyspline::BSpline::operator=;
%ignore tinyspline::DeBoorNet::operator=;
%ignore tinyspline::Domain::operator=;
+%ignore tinyspline::Frame::operator=;
+%ignore tinyspline::FrameSeq::operator=;
%ignore tinyspline::Morphism::operator();
+%ignore tinyspline::Vec3::operator=;
+%ignore tinyspline::Vec3::operator+;
... |
update with all the goals we want to achieve | Orca is a discord bot framework that is designed with minimum dependencies to
make bot deployment dead simple. The primary design goals of this framework are:
-- easy to debug (networking and logic) errors with extensive logging facilities
-- easy to reason about the code
+- easy to debug (networking and logic) errors ... |
pluginprocess-improvements: more child/parent key memleak fixes | @@ -307,13 +307,16 @@ int elektraPluginProcessSend (const ElektraPluginProcess * pp, pluginprocess_t c
ELEKTRA_SET_ERRORF (191, key, "Received invalid return code or no KeySet: %s", keyString (resultKey));
lresult = ELEKTRA_PLUGIN_STATUS_ERROR;
}
- else
+ else // Copy everything back into the actual keysets
{
Key * par... |
User: Fix compilation | @@ -23,7 +23,7 @@ EFI_SYSTEM_TABLE mSystemTable = {
.ConOut = &mConOut
};
-EFI_RUNTIME_SERVICES mRuntimeServices = { 0 };
+EFI_RUNTIME_SERVICES mRuntimeServices = { { 0 } };
EFI_SYSTEM_TABLE *gST = &mSystemTable;
EFI_BOOT_SERVICES *gBS = &mBootServices;
|
hereobrine: Duplicate file interrupts.dts include
Remove a duplicate DTS file include
TEST=zmake configure -b herobrine_npcx9
BRANCH=none | @@ -15,7 +15,6 @@ def register_variant(project_name, extra_dts_overlays=(), extra_kconfig_files=()
here / "common.dts",
here / "i2c.dts",
here / "interrupts.dts",
- here / "interrupts.dts",
here / "motionsense.dts",
here / "pwm.dts",
here / "switchcap.dts",
|
out_kafka_rest: use flb_msgpack_raw_to_json_sds() instead of old ...raw_to_json_str() | #include <fluent-bit/flb_utils.h>
#include <fluent-bit/flb_time.h>
#include <fluent-bit/flb_pack.h>
+#include <fluent-bit/flb_sds.h>
#include <fluent-bit/flb_http_client.h>
#include <msgpack.h>
* Convert the internal Fluent Bit data representation to the required
* one by Kafka REST Proxy.
*/
-static char *kafka_rest_f... |
Update contract key names ".../spec/token" and ".../spec/mounted" in HL API code generator.
This is an addendum to and . | @@ -624,7 +624,7 @@ kainjow::mustache::data HighlevelGenTemplate::getTemplateData (const std::string
contract.append (kdb::Key ("system:/elektra/contract/highlevel/helpmode/ignore/require", KEY_VALUE, "1", KEY_END));
// enable check for properly mounted specification
- contract.append (kdb::Key ("system:/elektra/contra... |
fix(docs) add `BT_PRV` as suggested | @@ -10,7 +10,7 @@ between the keyboard and the host. By default, ZMK supports five "profiles" for
computer/laptop/keyboard should receive the keyboard input; many of the commands here operate on those profiles.
:::note Connection Management
-When pairing to a host device ZMK saves bond information to the selected profi... |
scripts: add | @@ -25,7 +25,7 @@ configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/run_nokdbtests.in" "${CMAKE_CURRENT
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/run_checkshell.in" "${CMAKE_CURRENT_BINARY_DIR}/run_checkshell" @ONLY)
configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/run_nocheckshell.in" "${CMAKE_CURRENT_BINARY_DIR}/run_nochec... |
[Rust] AwmWindow sets an element's parent when it's added to the hierarchy | @@ -83,9 +83,13 @@ impl AwmWindow {
}
}
- pub fn add_component(&self, elem: Rc<dyn UIElement>) {
+ pub fn add_component(self: Rc<Self>, elem: Rc<dyn UIElement>) {
// Ensure the component has a frame by running its sizer
elem.handle_superview_resize(*self.current_size.borrow());
+
+ // Set up a link to the parent
+ elem... |
Simplelink: disable framer logging, as it can be called in interrupt context | /* Include CPU-related configurations */
#include "cc13xx-cc26xx-conf.h"
/*---------------------------------------------------------------------------*/
+#ifdef LOG_CONF_LEVEL_FRAMER
+#pragma message "LOG_CONF_LEVEL_FRAMER defined, undefining to disable printing in interrupt context"
+#undef LOG_CONF_LEVEL_FRAMER
+#end... |
distro-packages/python-rpm-macros: conform to centos python naming | ---- a/functions.lua 2017-12-07 11:46:04.907000000 -0800
-+++ b/functions.lua 2017-12-18 20:29:50.982000000 -0800
-@@ -56,10 +56,19 @@
+--- a/functions.lua 2017-12-07 11:46:04.000000000 -0800
++++ b/functions.lua 2018-01-26 09:32:27.000000000 -0800
+@@ -56,10 +56,23 @@
end
function package_name(flavor, modname, subpkg,... |
Trying to fix docker limits in travis (again). | @@ -26,13 +26,13 @@ sub_pull() {
exit 1
fi
- docker pull $IMAGE_NAME:deps || true
+ docker pull $IMAGE_NAME:deps && docker tag $IMAGE_NAME:deps metacall/core:deps || true
- docker pull $IMAGE_NAME:dev || true
+ docker pull $IMAGE_NAME:dev && docker tag $IMAGE_NAME:dev metacall/core:dev || true
- docker pull $IMAGE_NAME... |
admin/test-suite: bump test suite version on 1.3.6 branch | Summary: Integration test suite for OpenHPC
Name: test-suite%{PROJ_DELIM}
-Version: 1.3.5
+Version: 1.3.6
Release: 1
License: Apache-2.0
Group: %{PROJ_NAME}/admin
|
sysdeps/managarm: Add stub for TIOCGWINSZ | @@ -2036,6 +2036,11 @@ int sys_ioctl(int fd, unsigned long request, void *arg) {
__ensure(resp.error() == managarm::fs::Errors::SUCCESS);
return resp.result();
}
+ case TIOCGWINSZ: {
+ mlibc::infoLogger() << "\e[31mmlibc: TIOCGWINSZ is not implemented correctly\e[39m"
+ << frg::endlog;
+ return -1;
+ }
case TIOCSWINSZ:... |
Tidy-up CC2538 SHR search handling | @@ -565,7 +565,7 @@ init(void)
set_channel(rf_channel);
/* Enable SHR search */
- set_shr_search(1);
+ set_shr_search(RADIO_SHR_SEARCH_EN);
/* Acknowledge all RF Error interrupts */
REG(RFCORE_XREG_RFERRM) = RFCORE_XREG_RFERRM_RFERRM;
@@ -1010,6 +1010,9 @@ set_value(radio_param_t param, radio_value_t value)
set_cca_thr... |
[chain] Make "CREATED" receipt only if recipient of transaction is empty | @@ -549,7 +549,7 @@ func executeTx(bs *state.BlockState, tx *types.Tx, blockNo uint64, ts int64, pre
bs.BpReward += txFee
- if receiver.IsNew() {
+ if receiver.IsNew() && txBody.Recipient == nil {
bs.AddReceipt(types.NewReceipt(receiver.ID(), "CREATED", rv))
return nil
|
initialize map | @@ -90,7 +90,7 @@ func startAttach(allowProcs []allowProcConfig) error {
// Iterate over all allowed processses
for _, process := range allowProcs {
- var pidsToAttach util.PidScopeMapState
+ pidsToAttach := make(util.PidScopeMapState)
cfgSingleProc, err := yaml.Marshal(process.Config)
if err != nil {
log.Error().
|
VOM: fix cflags
override the default CXXFLAGS (which provides a -O2) with the
system set CFLAGS (providing -O0/-O2 for debug/release builds) | @@ -15,7 +15,8 @@ AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
AM_LIBTOOLFLAGS = --quiet
-AM_CXXFLAGS = -Wall -std=gnu++11 -I${top_srcdir} -I${top_builddir}/vpp-api/vapi/ -I$(top_srcdir)/vpp-api/ -I${libdir}/../include -O0
+CXXFLAGS = ${CFLAGS}
+AM_CXXFLAGS = ${CXXFLAGS} -Wall -Werror -std=gnu++11 -I${top_srcdir}... |
Fix the issue that ACK is not written timely | @@ -2095,6 +2095,27 @@ static ssize_t conn_write_pkt(ngtcp2_conn *conn, uint8_t *dest, size_t destlen,
/* We don't retransmit PATH_RESPONSE. */
}
+ rv = conn_create_ack_frame(conn, &ackfr, &pktns->acktr, ts,
+ conn_compute_ack_delay(conn),
+ conn->local.settings.ack_delay_exponent);
+ if (rv != 0) {
+ assert(ngtcp2_err... |
fix score iteration print for depthwise trees | @@ -546,8 +546,9 @@ namespace NCatboostCuda {
PrintBestScore(FeaturesManager, split, bestSplit.Score, depth);
} else {
ui32 iteration = subsets.Leaves.size();
+
if (Options.Policy == EGrowPolicy::Depthwise) {
- ui32 iteration = 0;
+ iteration = 0;
for (auto& leaf : subsets.Leaves) {
iteration = Max(iteration, leaf.Path... |
refactor: bot-elitebgs.cpp doesn't load from external files | @@ -243,7 +243,7 @@ void embed_from_json(char *str, size_t len, void *p_embed)
void on_ready(discord::client *client, const discord::user::dati *me)
{
- fprintf(stderr, "\n\nEddbapi-Bot succesfully connected to Discord as %s#%s!\n\n",
+ fprintf(stderr, "\n\nEliteBGS-Bot succesfully connected to Discord as %s#%s!\n\n",
... |
hdzero: add timeout waiting for intro | @@ -132,8 +132,12 @@ void hdzero_init() {
}
void hdzero_intro() {
- while (!hdzero_is_ready())
- ;
+ const uint32_t start = time_millis();
+ while (!hdzero_is_ready()) {
+ if ((time_millis() - start) > 500) {
+ return;
+ }
+ }
osd_transaction_t *txn = osd_txn_init();
osd_txn_start(OSD_ATTR_TEXT, COLS / 2 - 6, ROWS / 2 ... |
win32: dblock little correction | #undef open
#undef close
#endif
-
#endif
+#include "sync/RhoconnectClientManager.h"
+#include "common/RhoSystem.h"
+
namespace rho {
namespace db {
@@ -117,7 +119,7 @@ boolean CRubyMutexImpl::isMainRubyThread()
if ( (!sync::RhoconnectClientManager::haveRhoconnectClientImpl()) || (!sync::RhoconnectClientManager::haveSyn... |
VERSION bump to version 2.1.78 | @@ -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 77)
+set(SYSREPO_MICRO_VERSION 78)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Adjusted FPORT Telemetry for Integer Pids | @@ -824,7 +824,18 @@ void processFPORT(void) {
} // end frame received
}
+vector_t *get_pid_value(uint8_t term) {
+ switch (term) {
+ case 0:
+ return &profile.pid.pid_rates[profile.pid.pid_profile].kp;
+ case 1:
+ return &profile.pid.pid_rates[profile.pid.pid_profile].ki;
+ case 2:
+ return &profile.pid.pid_rates[prof... |
BugID:20235446: [ota] bk7231 patch revert | @@ -25,9 +25,3 @@ GLOBAL_CFLAGS += -DSYSINFO_PRODUCT_MODEL=\"$(CONFIG_SYSINFO_PRODUCT_MODEL)\"
GLOBAL_CFLAGS += -DSYSINFO_DEVICE_NAME=\"$(CONFIG_SYSINFO_DEVICE_NAME)\"
GLOBAL_LDS_INCLUDES += $($(NAME)_LOCATION)/bk7231udevkitc.ld
-
-ifeq ($(PING_PONG_OTA),1)
-EXTRA_TARGET_MAKEFILES += $($(HOST_MCU_FAMILY)_LOCATION)/gen_... |
Fix build error after ninja clean | @@ -436,10 +436,9 @@ endif()
ecbuild_add_library( TARGET eccodes
- SOURCES grib_api_version.c
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/grib_api_version.c
# griby.c gribl.c
${grib_api_srcs}
- GENERATED grib_api_version.c
#PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${CMATH_LIBRARIES}
PRIVATE_INCLUDES ... |
Fix locking when updating menu. | {
@public
- pappl_system_t *system; // I - System object
- NSStatusItem *statusItem; // I - Status item in menubar
- NSMenu *statusMenu; // I - Menu associated with status item
+ pappl_system_t *system; // System object
+ size_t event_count; // Event counter
+ NSStatusItem *statusItem; // Status item in menubar
+ NSMen... |
Fix insertion of allows "os" options. | premake.action._list["vs2017"].valid_kinds = table.join(premake.action._list["vs2017"].valid_kinds, { p.ANDROIDPROJ })
-- TODO: can I api.addAllowed() a key-value pair?
- local os = p.fields["os"];
+ local os = p.option.get("os")
if os ~= nil then
- table.insert(sys.allowed, { "android", "Android" })
+ table.insert(os.... |
Re-enabled parallel compilation | @@ -82,7 +82,7 @@ $(OBJS): $(filter clean,$(MAKECMDGOALS))
subsystems: $(ARCHS)
-%/$(ARCH): .FORCE
+%/$(ARCH): .FORCE $(filter clean,$(MAKECMDGOALS))
@+echo "\033[1;32mCOMPILE $(@D)\033[0m";\
if ! $(MAKE) -C "$(@D)"; then\
exit 1;\
|
Always try to find the best dag | @@ -762,13 +762,10 @@ rpl_select_dag(rpl_instance_t *instance, rpl_parent_t *p)
old_rank = instance->current_dag->rank;
last_parent = instance->current_dag->preferred_parent;
- best_dag = instance->current_dag;
- if(best_dag->rank != ROOT_RANK(instance)) {
- if(rpl_select_parent(p->dag) != NULL) {
- if(p->dag != best_d... |
Support lockup preparation
This action spawns stars and sends them to the ceremony address. | ==
::
++ batch
- $% [%single =call]
+ $% :: %single: execute a single ecliptic function call
+ ::
+ [%single =call]
+ :: %deed: deed ships based on json, assumes spawnable
+ ::
[%deed deeds-json=cord]
+ :: %lock-prep: prepare for lockup by transfering ships to the ceremony address
+ ::
+ [%lock-prep what=(list ship)]
+... |
dev-tools/numpy: bump to v1.14.3 | @@ -23,7 +23,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM}
%define PNAME %(echo %{pname} | tr [a-z] [A-Z])
Name: %{python_prefix}-%{pname}-%{compiler_family}%{PROJ_DELIM}
-Version: 1.14.2
+Version: 1.14.3
Release: 1%{?dist}
Url: http://sourceforge.net/projects/numpy
Summary: NumPy array processing for numbers... |
bootutil: fix broken bootstrap functionality
Fix bootstrap functionality which was broken by the fault injection
hardening support. | @@ -1636,11 +1636,11 @@ boot_prepare_image_for_update(struct boot_loader_state *state,
if (rc == 0 || fih_not_eq(fih_rc, FIH_SUCCESS)) {
- rc = boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC;
+ rc = (boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC) ? 1: 0;
FIH_CALL(boot_validate_slo... |
stm32/main: default to REPL without bluetooth
This will temporarily make it easier to debug stm32 ports that do not have Bluetooth support yet. | @@ -332,6 +332,23 @@ soft_reset:
uint8_t *program;
uint32_t len = get_user_program(&program);
+ // If we have no bluetooth, make a fake message
+ // that would otherwise be sent by the IDE to get
+ // the hub into REPL. We can delete this once all
+ // stm32 hubs have bluetooth enabled. Then we can
+ // Use the IDE to ... |
OcAppleKernelLib: Correctly assign symbol count. | @@ -1332,7 +1332,7 @@ InternalPrelinkKext64 (
DySymtab = MachoContext->DySymtab;
Symtab->SymbolsOffset = (LinkEditSegment->FileOffset + SymbolTableOffset);
- Symtab->NumSymbols -= NumSymbols;
+ Symtab->NumSymbols = NumSymbols;
Symtab->StringsOffset = (LinkEditSegment->FileOffset + StringTableOffset);
DySymtab->LocalRel... |
RTX5: removed duplicated library reference | osRtxInfo_t osRtxInfo __attribute__((section(".data.os"))) =
{ .os_id = osRtxKernelId, .version = osRtxVersionKernel, .kernel.state = osRtxKernelInactive };
-// Library reference to irq module
-extern uint8_t irqRtxLib;
-extern const uint8_t *irqRtxLibRef __attribute__((weak));
- const uint8_t* irqRtxLibRef = &irqRtxLi... |
add .list ad .map files to build | @@ -39,7 +39,7 @@ CXXFLAGS = $(COMMON_FLAGS) $(OPTIMIZE_FLAGS) $(ARCH_FLAGS) $(DEVICE_FLAGS) \
LDFLAGS = $(COMMON_FLAGS) $(ARCH_FLAGS) $(DEVICE_FLAGS) \
-Wl,--start-group -lc -lm -Wl,--end-group \
- -static -Wl,-L$(SYSTEM_DIR),-T$(SYSTEM_LD_SCRIPT),-Map,output.map,--gc-sections
+ -static -Wl,-L$(SYSTEM_DIR),-T$(SYSTEM_... |
feat(docs): Document locality for power management behaviors | @@ -62,3 +62,7 @@ Here is a table describing the command for each define:
```
&ext_power EP_TOG
```
+
+## Split Keyboards
+
+Power management behaviors are global: This means that when triggered, they affects both the central and peripheral side of split keyboards.
|
custom_calyptia: do not print tls.x empty values | @@ -75,15 +75,6 @@ static int is_sensitive_property(char *key)
return FLB_FALSE;
}
-static char *get_str(char *p)
-{
- if (p) {
- return p;
- }
-
- return "(not set)";
-}
-
static void pipeline_config_add_properties(flb_sds_t *buf, struct mk_list *props)
{
struct mk_list *head;
@@ -169,14 +160,25 @@ flb_sds_t custom_ca... |
examples UPDATE support ds param for changes example | * @brief example of an application handling changes
*
* @copyright
- * Copyright (c) 2019 CESNET, z.s.p.o.
+ * Copyright (c) 2019 - 2022 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
@@ -232,6 +232,41 @@ s... |
Issue Hardcoded installation path of verilator in unit tests
verilator is in the PATH, so switch to command line instead of
absolute path. | @@ -105,7 +105,7 @@ def run_unit_test(filename, _):
verilator_args = [
'sh',
- '/usr/local/bin/verilator',
+ 'verilator',
'--unroll-count', '512',
'--assert',
'-I' + test_harness.PROJECT_TOP + '/hardware/core',
|
Fix tls1_generate_master_secret | @@ -460,7 +460,7 @@ int tls1_generate_master_secret(SSL *s, unsigned char *out, unsigned char *p,
hash, hashlen,
NULL, 0,
NULL, 0,
- NULL, 0, p, len, s->session->master_key,
+ NULL, 0, p, len, out,
SSL3_MASTER_SECRET_SIZE);
OPENSSL_cleanse(hash, hashlen);
} else {
@@ -470,7 +470,7 @@ int tls1_generate_master_secret(SSL... |
Fix related logging bugs | @@ -289,12 +289,19 @@ int quic_server(const char* server_name, int server_port,
cnx_server = picoquic_get_first_cnx(qserver);
memset(&client_from, 0, sizeof(client_from));
memcpy(&client_from, &addr_from, from_length);
+ if (client_from.ss_family == AF_INET) {
+ struct sockaddr_in* addr = (struct sockaddr_in*) & client... |
netkvm: ack packed ring feature if suggested
The driver acks the feature if VERSION_1 is also set.
The device will use packed ring if enabled in the command-line.
Currently the device suppress this feature when vhost is on. | @@ -858,6 +858,10 @@ NDIS_STATUS ParaNdis_InitializeContext(
pContext->nVirtioHeaderSize = sizeof(virtio_net_hdr_v1);
pContext->bAnyLayout = true;
DPrintf(0, "[%s] Assuming VIRTIO_F_ANY_LAYOUT for V1 device\n", __FUNCTION__);
+ if (AckFeature(pContext, VIRTIO_F_RING_PACKED))
+ {
+ DPrintf(0, "[%s] Using PACKED ring\n",... |
runtime: TCP - account for pushed struct tx_net_hdr | @@ -183,7 +183,7 @@ int tcp_tx_ctl(tcpconn_t *c, uint8_t flags)
ret = net_tx_ip(m, IPPROTO_TCP, c->e.raddr.ip);
if (unlikely(ret)) {
/* pretend the packet was sent */
- mbuf_push(m, sizeof(struct eth_hdr) + sizeof(struct ip_hdr));
+ mbuf_push(m, sizeof(struct tx_net_hdr) + sizeof(struct eth_hdr) + sizeof(struct ip_hdr)... |
dsssframegen: returning appropriate value when setting header length | @@ -230,7 +230,7 @@ int dsssframegen_set_header_len(dsssframegen _q, unsigned int _len)
_q->header_dec_len = DSSSFRAME_H_DEC + _q->header_user_len;
_q->header = (unsigned char *)realloc(_q->header, _q->header_dec_len * sizeof(unsigned char));
- dsssframegen_reconfigure_header(_q);
+ return dsssframegen_reconfigure_head... |
Update face tracking example | # script finds a face in the image using the frontalface Haar Cascade.
# After which the script uses the keypoints feature to automatically learn your
# face and track it. Keypoints can be used to automatically track anything.
-#
-# NOTE: LOTS OF KEYPOINTS MAY CAUSE THE SYSTEM TO RUN OUT OF MEMORY!
import sensor, time,... |
Define load addresses using macros
This patch defines load addresses of regions using macros to increase
readability.
BRANCH=none
TEST=Diff firmware_image.lds before and after the change. | #include "config.h"
#include "rwsig.h"
+#ifdef NPCX_RO_HEADER
+/* Replace *_MEM_OFF with *_STORAGE_OFF to indicate flat file contains header
+ * or some struture which doesn't belong to FW */
+#define IMAGE_RO_AT (CONFIG_PROGRAM_MEMORY_BASE + \
+ CONFIG_EC_PROTECTED_STORAGE_OFF)
+/* npcx uses *STORAGE_OFF to plan the l... |
ble: Fix some AT response issues
At some places in the code both uAtClientCommandStop() and
uAtClientCommandStopReadResponse() was called for the same AT command
resulting in undetected AT errors. | @@ -88,7 +88,6 @@ static int32_t setStartupMode(const uAtClientHandle_t atHandle, int32_t mode)
uAtClientLock(atHandle);
uAtClientCommandStart(atHandle, "AT+UMSM=");
uAtClientWriteInt(atHandle, mode);
- uAtClientCommandStop(atHandle);
uAtClientCommandStopReadResponse(atHandle);
error = uAtClientUnlock(atHandle);
@@ -11... |
Hyundai safety: fixed wrong param | @@ -2,7 +2,7 @@ const int HYUNDAI_MAX_STEER = 250;
const int HYUNDAI_MAX_RT_DELTA = 128; // max delta torque allowed for real time checks
const int32_t HYUNDAI_RT_INTERVAL = 250000; // 250ms between real time checks
const int HYUNDAI_MAX_RATE_UP = 4;
-const int HYUNDAI_MAX_RATE_DOWN = 8;
+const int HYUNDAI_MAX_RATE_DOW... |
entry_log: Convert to use new-style interrupt disable
Update this file to use the irq_lock/unlock() method.
BRANCH=none
TEST=make -j30 BOARD=volteer | @@ -51,22 +51,23 @@ void log_add_event(uint8_t type, uint8_t size, uint16_t data,
size_t payload_size = EVENT_LOG_SIZE(size);
size_t total_size = ENTRY_SIZE(payload_size);
size_t current_tail, first;
+ uint32_t lock_key;
/* --- critical section : reserve queue space --- */
- interrupt_disable();
+ lock_key = irq_lock()... |
Expose the default for channel_binding in PQconndefaults().
If there's a static default value for a connection option,
it should be shown in the PQconninfoOptions array.
Daniele Varrazzo
Discussion: | @@ -215,7 +215,7 @@ static const internalPQconninfoOption PQconninfoOptions[] = {
"Database-Password-File", "", 64,
offsetof(struct pg_conn, pgpassfile)},
- {"channel_binding", "PGCHANNELBINDING", NULL, NULL,
+ {"channel_binding", "PGCHANNELBINDING", DefaultChannelBinding, NULL,
"Channel-Binding", "", 8, /* sizeof("req... |
+has:in typecheck hack | ?~ b
a
$(b t.b, a (put i.b))
+ :: +has: does :b exist in :a?
::
- ++ has :: b exists in a check
+ ++ has
~/ %has
- |* b/*
+ |* b=*
+ ^- ?
+ :: wrap extracted item type in a unit because bunting fails
+ ::
+ :: If we used the real item type of _?^(a n.a !!) as the sample type,
+ :: then hoon would bunt it to create the ... |
hslua-packaging: fix docs for hslua_udindex | @@ -137,12 +137,12 @@ int hsluaP_get_numerical(lua_State *L)
**
** Does the following, in order, and returns the first non-nil result:
**
-** - Checks the userdata's uservalue table for the given key;
-**
-** - Looks up a `getter` for the key and calls it with the userdata and
+** + Checks the userdata's uservalue tabl... |
[mod_deflate] do not cache 206 Partial Content | @@ -1642,12 +1642,12 @@ REQUEST_FUNC(mod_deflate_handle_response_start) {
* (This module does not aim to be a full caching proxy)
* response must be complete (not streaming response)
* must not have prior Vary response header (before Accept-Encoding added)
- * must not have Range response header
* must have ETag
* must... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.