message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
A few feed readers | @@ -123,9 +123,11 @@ static const char *browsers[][2] = {
{"FeedHQ", "Feeds"},
{"Feedly", "Feeds"},
{"Flipboard", "Feeds"},
+ {"inoreader.com", "Feeds"},
{"Netvibes", "Feeds"},
{"NewsBlur", "Feeds"},
{"PinRSS", "Feeds"},
+ {"theoldreader.com", "Feeds"},
{"WordPress.com Reader", "Feeds"},
{"YandexBlogs", "Feeds"},
@@ -2... |
No need to flop | ~/ %sloy-light
|= sod/slyd
|= [ref=* ron=@tas fal=@p dyc=@tas ved=case tyl=path]
- =+ bed=[[fal dyc ved] (flop tyl)]
+ :: we do not flop tyl because tyl wouldn't have been flopped by +en-beam
+ ::
+ =+ bed=[[fal dyc ved] tyl]
=+ bop=(sod ref ~ ron bed)
?~ bop ~
?~ u.bop [~ ~]
|
[core] server.syslog-facility (use -1 for unset)
(thx philipp)
x-ref:
"lighttpd needs config option for syslog facility" | @@ -197,7 +197,7 @@ int open_logfile_or_pipe(server *srv, const char* logfile) {
int log_error_open(server *srv) {
#ifdef HAVE_SYSLOG_H
/* perhaps someone wants to use syslog() */
- int facility = 0;
+ int facility = -1;
if (!buffer_string_is_empty(srv->srvconf.syslog_facility)) {
static const struct facility_name_st {... |
Solve memory leak on fail path related to loader. | @@ -1247,18 +1247,21 @@ void loader_impl_destroy_dtor(plugin p)
void loader_impl_destroy(plugin p, loader_impl impl)
{
- if (p != NULL && impl != NULL)
+ if (impl != NULL)
{
- log_write("metacall", LOG_LEVEL_DEBUG, "Destroy loader implementation %s", plugin_name(p));
-
if (impl->init == 0)
+ {
+ if (p != NULL)
{
loader... |
Fix bundle goal into the Makefile for macos | @@ -468,9 +468,15 @@ OLM_EXAMPLES := \
.PHONY: bundle
bundle: operator-sdk deployments ## Generate bundle manifests and metadata, then validate generated files.
+ifeq ($(shell uname -s), Darwin)
+ sed -i '' "s/\(olm.skipRange: '>=.*\)<.*'/\1<$(VERSION)'/" deploy/base/clusterserviceversion.yaml
+ sed -i '' "s/\(\"name\"... |
factor to prepare for new instantiators | @@ -12,12 +12,13 @@ typedef struct id_heap {
vector ranges;
} *id_heap;
-#define page_order(i) msb(i->h.pagesize)
-#define page_mask(i) (i->h.pagesize - 1)
+#define page_size(i) (i->h.pagesize)
+#define page_order(i) msb(page_size(i))
+#define page_mask(i) (page_size(i) - 1)
static inline int find_order(id_heap i, byte... |
g: fix dcrypto key context initialization
mempy should be using size of the object, not size of the pointer.
BRANCH=none
TEST=make buildall -j | @@ -22,7 +22,7 @@ int DCRYPTO_appkey_init(enum dcrypto_appid appid, struct APPKEY_CTX *ctx)
if (appid >= ARRAY_SIZE(dcrypto_app_names))
return 0;
- memset(ctx, 0, sizeof(ctx));
+ memset(ctx, 0, sizeof(*ctx));
if (!DCRYPTO_ladder_compute_frk2(0, ctx->key))
return 0;
|
build fix - sigh, caught by one of the older api versions | @@ -1441,7 +1441,7 @@ AssetNode::setDependentsDirty(const MPlug& plugBeingDirtied,
// and it's an attr that would affect the outputs
// sync to see if this change actually produces outputs
if((isInput || isParameter) && myExtraAutoSync) {
- if(!MAnimControl::isPlaying() && !MAnimControl::isScrubbing()) {
+ if(!MAnimCon... |
Move common.h back to the top of the file so that SKYLAKEX (from config.h) is defined in time | /* the direct sgemm code written by Arjan van der Ven */
-
+#include "common.h"
#if defined(SKYLAKEX) || defined (COOPERLAKE)
#include <immintrin.h>
-#include "common.h"
+
/*
* "Direct sgemm" code. This code operates directly on the inputs and outputs
@@ -472,7 +472,7 @@ void CNAME (BLASLONG M, BLASLONG N, BLASLONG K, ... |
boards/arm/stm32f7/nucleo-144/src/stm32_usb.c: fix CONFIG_STM32F4DISCO_USBHOST_PRIO && CONFIG_STM32F4DISCO_USBHOST_STACKSIZE | @@ -225,8 +225,8 @@ int stm32_usbhost_initialize(void)
uinfo("Start usbhost_waiter\n");
- ret = kthread_create("usbhost", CONFIG_STM32F4DISCO_USBHOST_PRIO,
- CONFIG_STM32F4DISCO_USBHOST_STACKSIZE,
+ ret = kthread_create("usbhost", CONFIG_NUCLEO144_USBHOST_PRIO,
+ CONFIG_NUCLEO_USBHOST_STACKSIZE,
(main_t)usbhost_waiter,... |
pmix: use direct package names for temporary BuildRequires | @@ -23,7 +23,7 @@ Source1: OHPC_macros
Patch0: singleton.5391e43.patch
BuildRequires: libevent-devel
-BuildRequires: lmod%{PROJ_DELIM} %{PROJ_DELIM}autotools
+BuildRequires: lmod-ohpc ohpc-autotools
%global install_path %{OHPC_ADMIN}/%{pname}/%{version}
|
Update scene width and height when background image is modified | @@ -173,7 +173,7 @@ export const denormalizeProject = projectData => {
const loadProject = (state, action) => {
const data = normalizeProject(action.data);
- return deepmerge(state, data);
+ return fixSceneCollisions(deepmerge(state, data));
};
const saveAsProject = (state, action) => {
@@ -298,13 +298,13 @@ const fixS... |
.arc now may be a symlink | @@ -385,7 +385,8 @@ def is_git(arc_root):
def is_arc(arc_root):
- return os.path.isdir(os.path.join(arc_root, '.arc'))
+ path = os.path.join(arc_root, '.arc')
+ return (os.path.isdir(path) or os.path.islink(path)) and os.path.exists(os.path.join(path, "TREE"))
def main(header, footer, line):
|
Sensor cosmetics for SmartThings ZB-ONOFFPlug-D0005 in DB
Do not provide voltage and current (not measured) and remove power from consumption sensor | @@ -3137,7 +3137,8 @@ static int sqliteLoadAllSensorsCallback(void *user, int ncols, char **colval , c
if (sensor.fingerPrint().hasInCluster(METERING_CLUSTER_ID))
{
clusterId = clusterId ? clusterId : METERING_CLUSTER_ID;
- if (sensor.modelId() != QLatin1String("SP 120"))
+ if ((sensor.modelId() != QLatin1String("SP 12... |
Replace lwIP byte order functions with built-in functions | @@ -50,6 +50,12 @@ extern "C" {
#define BYTE_ORDER LITTLE_ENDIAN
#endif // BYTE_ORDER
+#define LWIP_DONT_PROVIDE_BYTEORDER_FUNCTIONS
+#define htons(x) __builtin_bswap16(x)
+#define ntohs(x) __builtin_bswap16(x)
+#define htonl(x) __builtin_bswap32(x)
+#define ntohl(x) __builtin_bswap32(x)
+
#ifndef CONFIG_LWIP_ESP_LWIP_... |
use privete var | <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Label="XmakePathsResolve">
- <XmakeProgramDirResolved>$(XmakeProgramDir)</XmakeProgramDirResolved>
- <XmakeProjectDirResolved>$(XmakeProjectDir)</XmakeProjectDirResolved>
- <XmakeScriptDirResolved>$(XmakeScriptDir)</XmakeScriptDirResol... |
Solve potential bug in loader_impl_configuration. | @@ -246,10 +246,9 @@ void loader_impl_configuration(loader_impl impl, configuration config)
{
value execution_paths_value = configuration_value(config, "execution_paths");
- size_t size = value_type_count(execution_paths_value);
-
if (execution_paths_value != NULL)
{
+ size_t size = value_type_count(execution_paths_val... |
tools/runserial: create log file if detected | @@ -75,6 +75,21 @@ def download_and_run(device, mpy_bytes):
if IDLE in data:
break
+ # Save log if detected in output
+ start_key = b'PB_OF'
+ end_key = b'PB_EOF'
+ if start_key in data and end_key in data:
+
+ # Get data between keys
+ start = data.index(start_key)+len(start_key)+1
+ end = data.index(end_key)-2
+ log_... |
Tools: setup-unit: removed root checks.
Reported-by: Liam Crilly | @@ -557,10 +557,6 @@ unit_ctl_welcome()
shift;
done;
- id -u \
- | xargs test 0 -ne \
- && err 'welcome: This script requires root privileges to run.';
-
command -v curl >/dev/null \
|| err 'welcome: curl(1) not found in PATH. It must be installed to run this script.';
@@ -1179,10 +1175,6 @@ __EOF__";
command -v curl >... |
interface: allow an interface's index to be given in 'sh int'
Type: improvement
e.g.:
DBGvpp# sh int 3
Name Idx State MTU (L3/IP4/IP6/MPLS) Counter Count
loop2 3 down 9000/0/0/0 | @@ -319,6 +319,21 @@ show_sw_interfaces (vlib_main_t * vm,
show_vtr = 1;
else if (unformat (linput, "verbose"))
verbose = 1;
+ else if (unformat (linput, "%d", &sw_if_index))
+ {
+ if (!pool_is_free_index (im->sw_interfaces, sw_if_index))
+ {
+ si = pool_elt_at_index (im->sw_interfaces, sw_if_index);
+ vec_add1 (sorted... |
OcConsoleLib: Fix MSVC compilation | @@ -43,7 +43,7 @@ OC_BLIT_CONFIGURE *
mFramebufferContext;
STATIC
-UINT32
+UINTN
mFramebufferContextPageCount;
STATIC
@@ -212,7 +212,7 @@ EFIAPI
DirectGopFromTarget (
IN EFI_PHYSICAL_ADDRESS FramebufferBase,
IN EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info,
- OUT UINT32 *PageCount
+ OUT UINTN *PageCount
)
{
EFI_STATUS Sta... |
Fix baseline image names in tessellate test script. | @@ -172,18 +172,18 @@ v.imageZoom = 1
v.perspective = 1
SetView3D(v)
-Test("quadratric_mixed_01")
+Test("quadratic_mixed_01")
AddOperator("Tessellate", 1)
DrawPlots()
-Test("quadratric_mixed_02")
+Test("quadratic_mixed_02")
tess = TessellateAttributes()
tess.chordError = 0.01
SetOperatorOptions(tess, 0, 1)
-Test("quadr... |
Makefile: preinitialize ARCH_CFLAGS | @@ -29,6 +29,7 @@ HFUZZ_CC_SRCS := hfuzz_cc/hfuzz-cc.c
COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wno-format-truncation -I.
COMMON_LDFLAGS := -lm libhfcommon/libhfcommon.a
COMMON_SRCS := $(sort $(wildcard *.c))
+ARCH_CFLAGS := -std=c11 -I/usr/local/include
CFLAGS ?= -O3 -mtune=native
LDFLAGS ?=
LIBS_CFLAGS ?= -fPIC ... |
fix: reducing duplicate header file definitions
Reducing duplicate header file definitions <sys/resource.h> | #include <limits.h>
#include <float.h>
#include <math.h>
-#include <sys/resource.h>
#include <sys/utsname.h>
#include <locale.h>
#include <sys/socket.h>
-#include <sys/resource.h>
#ifdef __linux__
#include <sys/mman.h>
|
OcBootManagementLib: Permit CMD+S in any mode | @@ -856,6 +856,7 @@ OcWaitForAppleKeyIndex (
BOOLEAN HasKeyS;
BOOLEAN HasKeyV;
BOOLEAN HasKeyMinus;
+ BOOLEAN WantsZeroSlide;
UINT32 CsrActiveConfig;
UINT64 CurrTime;
UINT64 EndTime;
@@ -945,11 +946,15 @@ OcWaitForAppleKeyIndex (
//
//
- // boot.efi requires unrestricted NVRAM just for CMD+S+MINUS,
- // but we will req... |
remove esp flash from run_automated_tests.sh | @@ -12,10 +12,6 @@ else
TEST_SCRIPTS=$(ls tests/automated/$1*.py)
fi
-cd boardesp
-env PYTHONPATH="${PWD%/*/*}" make flashall
-cd ..
-
IFS=$'\n'
for NAME in $(nmcli --fields NAME con show | grep panda | awk '{$1=$1};1')
do
|
Fix undefined behavior in hash
The previous rotation implementation invoked undefined behavior for
every index in the target string where i % 32 == 0. Found via ASan.
Fixes | @@ -35,9 +35,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <yara/mem.h>
#include <yara/error.h>
-#define ROTATE_INT32(x, shift) \
- ((x << (shift % 32)) | (x >> (32 - (shift % 32))))
+// Constant-time left rotate that does not invoke undefined behavior.
+// http://blog.regehr.org/archives/... |
set bash shell for lowmem test | +# for math in lowmem test
+SHELL=/bin/bash
tests/test-pics-pi: pics scale nrmse $(TESTS_OUT)/shepplogan.ra $(TESTS_OUT)/shepplogan_coil_ksp.ra $(TESTS_OUT)/coils.ra
@@ -383,8 +385,8 @@ tests/test-pics-lowmem: traj phantom repmat ones pics nrmse
$(TOOLDIR)/repmat 5 200 k0.ra k1.ra ;\
$(TOOLDIR)/repmat 6 200 k1.ra k2.ra... |
Fix declaration of Windows.Storage | @@ -105,7 +105,7 @@ static const CLR_RT_MethodHandler method_lookup[] =
const CLR_RT_NativeAssemblyData g_CLR_AssemblyNative_Windows_Storage =
{
"Windows.Storage",
- 0xC2A120B1,
+ 0xE6682807,
method_lookup,
{ 100, 0, 2, 0 }
};
|
use headers.data() instead of &headers[0] | @@ -152,7 +152,7 @@ testMultiPartOutputFileForExpectedFailure (const vector<Header> & headers,
try
{
remove(fn.c_str());
- MultiPartOutputFile file(fn.c_str(), (headers.size()>0 ? &headers[0] : NULL) , headers.size() );
+ MultiPartOutputFile file(fn.c_str(), headers.data() , headers.size() );
cerr << "ERROR -- " << fai... |
fix bordergrab warping | @@ -2294,7 +2294,7 @@ resizeborder(const Arg *arg) {
XUngrabPointer(dpy, CurrentTime);
if (ev.type == ButtonPress) {
if (y < c->y && x > c->x + (c->w * 0.5) - c->w / 4 && x < c->x + (c->w * 0.5) + c->w / 4) {
- forcewarp(c);
+ XWarpPointer(dpy, None, root, 0, 0, 0, 0, x, c->y + 10);
movemouse(NULL);
} else {
resizemous... |
Mark contextTop static.
This variable is not used outside of the memContext module so no need for it to be extern'd. | @@ -74,7 +74,7 @@ Top context
The top context always exists and can never be freed. All other contexts are children of the top context. The top context is
generally used to allocate memory that exists for the life of the program.
******************************************************************************************... |
Correct spelling in main README.md. | # Introduction to `ubxlib`
-This repository contains an add-on to microcontroller and RTOS SDKs for building embedded applications with u-blox products and services. It provides portable C libraries which expose APIs with examples. `ubxlib` supports [u-blox](https://www.u-blox.com) modules with [cellular](https://www.u... |
update ya tool arc
keep local modifications on rebase in case of fast-forward
better commits cmp | },
"arc": {
"formula": {
- "sandbox_id": [348136972],
+ "sandbox_id": [350557867],
"match": "arc"
},
"executable": {
|
network: fix getaddrinfo call | @@ -37,7 +37,7 @@ int elektraNetworkAddrInfo (Key * toCheck)
hints.ai_flags = AI_NUMERICHOST; /* Only accept numeric hosts */
hints.ai_protocol = 0; /* Any protocol */
- s = getaddrinfo (keyString (toCheck), "", &hints, &result);
+ s = getaddrinfo (keyString (toCheck), NULL, &hints, &result);
if (s != 0)
{
|
tests BUGFIX proper candidate reset | @@ -268,8 +268,8 @@ test_invalid(void **state)
ret = sr_validate(st->sess, 0);
assert_int_equal(ret, SR_ERR_VALIDATION_FAILED);
- /* copy-config to running, should also reset candidate */
- ret = sr_copy_config(st->sess, NULL, SR_DS_CANDIDATE, SR_DS_RUNNING, 0);
+ /* copy-config to candidate, should reset it */
+ ret =... |
implement OP_HASHADD. | mruby bytecode executor.
<pre>
- Copyright (C) 2015-2021 Kyushu Institute of Technology.
- Copyright (C) 2015-2021 Shimane IT Open-Innovation Center.
+ Copyright (C) 2015-2022 Kyushu Institute of Technology.
+ Copyright (C) 2015-2022 Shimane IT Open-Innovation Center.
This file is distributed under BSD 3-Clause License... |
ev3sensor: approve ev3dev id if lego-sensor exists
This will allow the Ev3devSensor class to acquire any sensor that has an ev3dev driver. | @@ -215,6 +215,12 @@ static pbio_error_t ev3_sensor_assert_id(pbdrv_ev3_sensor_t *sensor, pbio_iodev_
pbio_iodev_type_id_t id;
+ // If we are here, we have already confirmed that a lego-sensor exists.
+ // So if the user asserts that this should be a lego-sensor, this passes.
+ if (valid_id == PBIO_IODEV_TYPE_ID_EV3DEV... |
vppapigen: Expose "option version" in generated JSON file. | @@ -64,6 +64,7 @@ def run(filename, s, file_crc):
j['unions'] = walk_defs([o for o in s['types'] if o.__class__.__name__ == 'Union'])
j['enums'] = walk_enums([o for o in s['types'] if o.__class__.__name__ == 'Enum'])
j['services'] = walk_services(s['Service'])
+ j['options'] = s['Option']
j['aliases'] = s['Alias']
j['v... |
check_damage_recursive in progress. | @@ -25031,6 +25031,9 @@ void checkdamageeffects(s_collision_attack *attack)
self->seal = _seal; //Set seal. Any animation with energycost > seal is disabled.
}
+ // Apply any recursive (damage over time) effects.
+ check_damage_recursive(self, opp, attack);
+
if(attack->recursive)
{
if(_dot) //dot: Damage over time eff... |
speed: Document the deficiencies of the command
Fixes | @@ -30,9 +30,6 @@ B<openssl speed>
=head1 DESCRIPTION
This command is used to test the performance of cryptographic algorithms.
-To see the list of supported algorithms, use C<openssl list -digest-commands>
-or C<openssl list -cipher-commands> command. The global CSPRNG is denoted by
-the B<rand> algorithm name.
=head1... |
Update upload-artifact action to v3 | @@ -102,7 +102,7 @@ jobs:
./build.sh
- name: Deploy
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: docker
path: ${{runner.workspace}}/${{github.event.repository.name}}/tools/ci/build
@@ -143,7 +143,7 @@ jobs:
run: otool -L lib/*tinysplinelua*
- name: Deploy
- uses: actions/upload-arti... |
check_config.h: fix TLS 1.3 requirements (add HKDF_EXTRACT/EXPAND) and comments | #error "MBEDTLS_SSL_PROTO_TLS1_2 defined, but not all prerequisites"
#endif
-/*
- * HKDF is mandatory for TLS 1.3.
- * Otherwise support for at least one ciphersuite mandates either SHA_256 or
- * SHA_384.
- */
+/* TLS 1.3 requires separate HKDF parts from PSA */
+#if defined(MBEDTLS_SSL_PROTO_TLS1_3) && \
+ !( defined... |
manage temperature and register | @@ -7,7 +7,7 @@ int l0_msg_handler(vm_t* vm, msg_t* input, msg_t* output) {
return LUOS_PROTOCOL_NB;
}
}
- if (input->header.cmd == L0_TEMPERATURE) {
+ if (input->header.cmd == L0_TEMPERATURE & input->header.size == 0) {
output->header.cmd = L0_TEMPERATURE;
output->header.target_mode = ID;
output->header.size = sizeof(... |
gpu: Also try to load libvulkan.so.1;
Some systems don't have libvulkan.so | @@ -1794,7 +1794,8 @@ bool gpu_init(gpu_config* config) {
CHECK(state.library, "Failed to load vulkan library") return gpu_destroy(), false;
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = (PFN_vkGetInstanceProcAddr) dlsym(state.library, "vkGetInstanceProcAddr");
#else
- state.library = dlopen("libvulkan.so", RTLD_NO... |
INSTALL.md: Fedora 30: note about kernel lockdown
Add a note about the kernel lockdown challenge
to the "Fedora 30 and newer" section.
Motivation: Fedora 30 users are likely to follow
the instructions in the "Fedora 30 and newer"
section of INSTALL.md. They will run into the
kernel lockdown challenge. | @@ -114,6 +114,13 @@ You can install them via
sudo dnf install bcc
```
+**Note**: if you keep getting `Failed to load program: Operation not permitted` when
+trying to run the `hello_world.py` example as root then you might need to lift
+the so-called kernel lockdown (cf.
+[FAQ](https://github.com/iovisor/bcc/blob/c00d... |
driver/fingerprint: Set dead pixels to unknown on init in BEP
This matches the behavior in the libfp driver.
BRANCH=none
TEST=make buildall -j | @@ -155,6 +155,8 @@ int fp_sensor_init(void)
/* Print the BEP version and build time of the library */
CPRINTS("Build information - %s", fp_sensor_get_build_info());
+ errors = FP_ERROR_DEAD_PIXELS_UNKNOWN;
+
rc = fp_sensor_open();
if (rc) {
errors |= FP_ERROR_INIT_FAIL;
|
Cross platform electronforge make | "start:electron": "electron-forge start",
"package": "electron-forge package",
"make:electron": "electron-forge make",
+ "make:electron:win": "electron-forge make --arch=x64 --platform=win32",
+ "make:electron:mac": "electron-forge make --arch=x64 --platform=darwin",
+ "make:electron:linux": "electron-forge make --arch... |
fixed for typing | @@ -388,7 +388,7 @@ avtDenovoFileFormat::GetVar(int domain, const char *varname)
string varName(varname);
- int varIdx = -1;
+ hsize_t varIdx = -1;
varInfo var;
for (int i = 0; i < varMetaData.size(); i++)
for (int j = 0; j < varMetaData[i].varNames.size(); j++)
@@ -404,7 +404,8 @@ avtDenovoFileFormat::GetVar(int domai... |
file names to lowercase and replace blank spaces by undercore | @@ -102,7 +102,7 @@ public abstract class SGDKElement {
protected abstract Icon calculateIcon() throws TranscoderException, URISyntaxException;
public static String toString(String path) {
- return path.substring(path.lastIndexOf(File.separator)+1);
+ return path.substring(path.lastIndexOf(File.separator)+1).replaceAll... |
update ya tool arc
fix misspelled
assign action to each commit
use resolved name of a remote branch
support custom output stream and prefix in TStatusAction
notice about 'arc add' | },
"arc": {
"formula": {
- "sandbox_id": [401738649],
+ "sandbox_id": [404316948],
"match": "arc"
},
"executable": {
|
doc: mention that INSERT can block because of unique indexes
Initial patch by David G. Johnston.
Reported-by: David G. Johnston
Discussion:
Backpatch-through: 10 | @@ -75,6 +75,11 @@ INSERT INTO <replaceable class="parameter">table_name</replaceable> [ AS <replac
</para>
<para>
+ <command>INSERT</command> into tables that lack unique indexes will
+ not be blocked by concurrent activity. Tables with unique indexes
+ might block if concurrent sessions perform actions that lock or m... |
change the code to add comments | @@ -95,7 +95,8 @@ match_path (char *buffer, jsmntok_t *t, size_t n_toks, int start_tok,
ASSERT_S(ps->type == INDEX, "Path is not an index");
ASSERT_S(ps->path.index >= 0, "Index is not zero or positive");
ASSERT_S(ps->path.index < t[i].size, "Index is out-of-bound");
- match_path(buffer, t, n_toks, i+1+ps->path.index, ... |
docs: doxygen fix siphon under python3
siphon used cgi.escape which was deprecated in python 3.2 and
removed in python 3.8.
Update the code to use html.escape instead.
Type: fix | # See the License for the specific language governing permissions and
# limitations under the License.
-import cgi, pyparsing as pp
+import html
+import pyparsing as pp
# Some useful primitives
ident = pp.Word(pp.alphas + "_", pp.alphas + pp.nums + "_")
@@ -102,7 +103,7 @@ class ParseFunctionMacroStmt(ParserFunctionMac... |
reoder metrics too | @@ -1977,46 +1977,46 @@ Structure of the console `stdout` event
**File System**
+1. [metric.fs.open](#metricfsopen)
1. [metric.fs.close](#metricfsclose)
1. [metric.fs.duration](#metricfsduration)
1. [metric.fs.error](#metricfserror)
-1. [metric.fs.open](#metricfsopen)
1. [metric.fs.read](#metricfsread)
+1. [metric.fs.w... |
tools/dfu.py: Pad image data to 8 byte alignment to support L476.
Thanks to for this patch to pad the image to 8-byte boundaries. | @@ -60,6 +60,10 @@ def build(file,targets,device=DEFAULT_DEVICE):
for t,target in enumerate(targets):
tdata = b''
for image in target:
+ # pad image to 8 bytes (needed at least for L476)
+ pad = (8 - len(image['data']) % 8 ) % 8
+ image['data'] = image['data'] + bytes(bytearray(8)[0:pad])
+ #
tdata += struct.pack('<2I'... |
notifications: reduce group stats properly | @@ -235,8 +235,8 @@ function updateNotificationStats(state: HarkState, index: NotifIndex, statField:
const curr = _.get(state.unreads.graph, [index.graph.graph, index.graph.index, statField], 0);
_.set(state.unreads.graph, [index.graph.graph, index.graph.index, statField], f(curr));
} else if('group' in index) {
- cons... |
baseboard/mtscp-rv32i/baseboard.h: Format with clang-format
BRANCH=none
TEST=none | #define CONFIG_PANIC_BASE_OFFSET 0x100 /* reserved for jump data */
#ifdef CHIP_VARIANT_MT8195
-#define CONFIG_PANIC_DATA_BASE (CONFIG_PANIC_DRAM_BASE + CONFIG_PANIC_BASE_OFFSET)
+#define CONFIG_PANIC_DATA_BASE \
+ (CONFIG_PANIC_DRAM_BASE + CONFIG_PANIC_BASE_OFFSET)
#endif
/* MPU settings */
|
eldrid: ignore PROCHOT when system off
BRANCH=firmware-volteer-13521.B-master
TEST=make buildall | @@ -95,6 +95,16 @@ static void prochot_input_deferred(void)
if (prochot_in == debounced_prochot_in)
return;
+ /*
+ * b/173180788 Confirmed from Intel internal that SLP_S3# asserts low
+ * about 10us before PROCHOT# asserts low, which means that
+ * the CPU is already in reset and therefore the PROCHOT#
+ * asserting lo... |
fix module load dependency | @@ -151,7 +151,7 @@ set version %{version}
# Require openblas for gnu compiler families
if [ expr [ module-info mode load ] || [module-info mode display ] ] {
- if { [is-loaded gnu] } {
+ if { [is-loaded gnu7] } {
if { ![is-loaded openblas] } {
module load openblas
}
|
naive: emit effects for processed txs
As a transaction receipt of sort, to inform of transaction success or
failure. | ::
++ diff
$% [%nonce =ship =proxy =nonce]
+ [%tx =raw-tx err=(unit @tas)]
[%operator owner=address operator=address approved=?]
[%dns domains=(list @t)]
$: %point =ship
::
?. (verify-sig-and-nonce verifier chain-t state i.roll)
%+ debug %l2-sig-failed
- $(roll t.roll)
+ =^ effects state $(roll t.roll)
+ :_ state
+ [[%... |
Add seccomp and libsecoomp to depends and build-depends | @@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 9),
libcurl4-openssl-dev (>= 7.38.0),
libsodium-dev (>= 1.0.11),
help2man (>= 1.46.4),
-# libcjson-dev (>= 1.7.7),
+ libseccomp-dev (>= 2.3.1),
libmicrohttpd-dev (>= 0.9.37)
Standards-Version: 4.1.5
@@ -15,8 +15,8 @@ Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depen... |
Release: Add info about new files | @@ -168,7 +168,11 @@ There are, however, some additions and changes in rarely used interfaces:
These notes are of interest for people maintaining packages of Elektra:
-- <<TODO which files added/removed>>
+- We added the following files in this release:
+ - `libelektra-dini.so`
+ - `libelektra-directoryvalue.so`
+ - `t... |
docs: update jtag channel for esp32 and esp32s2 | @@ -98,7 +98,7 @@ On macOS, using FT2232 for JTAG and serial port at the same time needs some addi
1. Manually unload the FTDI serial port driver before starting OpenOCD, start OpenOCD, then load the serial port driver.
-2. Modify FTDI driver configuration so that it doesn't load itself for channel B of FT2232 chip, wh... |
VERSION bump to version 2.0.225 | @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 224)
+set(LIBYANG_MICRO_VERSION 225)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
Requirements updated in docs. | *
* \section sect_requirements Requirements
*
- * In order to start with this library, you must complete these requirements:
+ * In order to start with this library, these requirements must be resolved:
*
* - ESP8266 must include latest AT software
- * - Currently supported is AT 1.6.0 based on SDK 2.2.0 which is not y... |
Replace storageLocal() with storageTest in postgres/interface test. | @@ -218,7 +218,7 @@ testRun(void)
storagePutP(storageNewWriteP(storageTest, walFile), result);
PgWal info = {0};
- TEST_ASSIGN(info, pgWalFromFile(walFile, storageLocal()), "get wal info v11");
+ TEST_ASSIGN(info, pgWalFromFile(walFile, storageTest), "get wal info v11");
TEST_RESULT_UINT(info.systemId, 0xECAFECAF, " ch... |
wireless: gs2200m: Fix to receive a big packet | @@ -865,7 +865,9 @@ static int recvfrom_request(int fd, FAR struct gs2200m_s *priv,
}
memset(&rmsg, 0, sizeof(rmsg));
- rmsg.buf = calloc(1, 1500);
+ rmsg.buf = calloc(1, req->max_buflen);
+ ASSERT(rmsg.buf);
+
rmsg.cid = usock->cid;
rmsg.reqlen = req->max_buflen;
rmsg.is_tcp = (usock->type == SOCK_STREAM) ? true : fal... |
+test-slam-wa-wet comments | %+ expect-eq
!>(7)
-:(~(slam wa *worm) !>(add) !>([3 4]))
+:: +test-slam-wa-wet: does +slam:wa perform correct wet type inference?
+::
+:: Also test that the cache doesn't gain any new entries when given a
+:: sample of a previously seen type.
::
++ test-slam-wa-wet ^- tang
+ :: use the same .list-type for both calls
+... |
don't loop so much in reorg | @@ -52,7 +52,7 @@ int64_t nLastCoinStakeSearchTime = 0;
int nCoinbaseMaturity = 20; //30 on Mainnet D e n a r i u s, 20 for testnet
CBlockIndex* pindexGenesisBlock = NULL;
int nBestHeight = -1;
-
+bool FortunaReorgBlock;
uint256 nBestChainTrust = 0;
uint256 nBestInvalidTrust = 0;
@@ -2918,13 +2918,6 @@ bool static Reor... |
storage of email creadentials
e-mail credentials of the account used for the alerts
are now obfuscated before being stored into the config file. | @@ -23,6 +23,8 @@ import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.Logger;
+import org.apache.manifoldcf.authorities.system.ManifoldCF;
+import org.apache.manifoldcf.core.interfaces.ManifoldCFException;
/**
* Configuration reader
@@ -71,8 +73,16 @@ public class AlertsConfiguration {
* : ... |
PATH in java tests
In some of the java and oracle-java integ tests, our binaries are not in
the PATH so check and fix it in the test script. | #! /bin/bash
+# in some cases, the /etc/profile.d
+[ -n "$(which scope)" ] || export PATH="/usr/local/scope:/usr/local/scope/bin:${PATH}"
+
DEBUG=0 # set this to 1 to capture the EVT_FILE for each test
FAILED_TEST_LIST=""
|
net/lwip: fix the exception handling for NS
RFC 7.1.1.
If the IP source address is the unspecified addriess, there is no
source link-layer address option in the message. | @@ -400,6 +400,16 @@ void nd6_input(struct pbuf *p, struct netif *inp)
/* Check for ANY address in src (DAD algorithm). */
if (ip6_addr_isany(ip6_current_src_addr())) {
+ if (lladdr_opt != NULL) {
+ /* RFC 7.1.1.
+ * If the IP source address is the unspecified address, there is no
+ * source link-layer address option i... |
PKCS12 app: Improve readability w.r.t. enc_flag, renamed to enc_name | @@ -155,7 +155,7 @@ const OPTIONS pkcs12_options[] = {
int pkcs12_main(int argc, char **argv)
{
char *infile = NULL, *outfile = NULL, *keyname = NULL, *certfile = NULL;
- char *untrusted = NULL, *ciphername = NULL, *enc_flag = NULL;
+ char *untrusted = NULL, *ciphername = NULL, *enc_name = NULL;
char *passcertsarg = NU... |
Add SDK downloading to the build step | @@ -64,7 +64,7 @@ jobs:
- run:
name: Build ESP image
command: |
- docker run panda_build /bin/bash -c "cd /panda/boardesp; make user1.bin"
+ docker run panda_build /bin/bash -c "cd /panda/boardesp; ./get_sdk.sh; make user1.bin"
safety_replay:
machine:
|
Doc: Add a description of substream in pg_subscription.
Commit added a new column substream in pg_subscription but
forgot to update the docs.
Reported-by: Peter Smith
Author: Amit Kapila
Discussion: | @@ -7565,6 +7565,16 @@ SCRAM-SHA-256$<replaceable><iteration count></replaceable>:<replaceable>&l
</para></entry>
</row>
+ <row>
+ <entry role="catalog_table_entry"><para role="column_definition">
+ <structfield>substream</structfield> <type>bool</type>
+ </para>
+ <para>
+ If true, the subscription will allow st... |
changed metadata presentation in collections-elem | /= collection-post
:: /^ $-(raw-item:collections manx)
/: /===/web/landscape/collections/post /% /!noun/
-/= collection-details
- /^ manx
- /: /===/web/landscape/collections/details /% /!hymn/
+::/= collection-details
+:: /^ manx
+:: /: /===/web/landscape/collections/details /% /!hymn/
::
::
=< (item-to-elem itm)
^- ma... |
[mempool] Use next chainid hash to verify tx | @@ -67,7 +67,8 @@ type MemPool struct {
dumpPath string
status int32
coinbasefee *big.Int
- chainIdHash []byte
+ bestChainIdHash []byte
+ acceptChainIdHash []byte
isPublic bool
whitelist *whitelistConf
// followings are for test
@@ -401,6 +402,7 @@ func (mp *MemPool) setStateDB(block *types.Block) (bool, bool) {
}
mp.b... |
Add AddonContentsFinder Values | @@ -5,7 +5,7 @@ namespace FFXIVClientStructs.FFXIV.Client.UI;
// Client::UI::AddonContentsFinder
// Component::GUI::AtkUnitBase
// Component::GUI::AtkEventListener
-[StructLayout(LayoutKind.Explicit, Size = 0x2C8)]
+[StructLayout(LayoutKind.Explicit, Size = 0x16C8)]
public unsafe struct AddonContentsFinder
{
[FieldOffs... |
dnstap io, move setup with nothreads into its own routine. | @@ -1253,6 +1253,15 @@ static void dtio_open_output(struct dt_io_thread* dtio)
#endif /* HAVE_SYS_UN_H */
}
+/** perform the setup of the writer thread on the established event_base */
+static void dtio_setup_on_base(struct dt_io_thread* dtio)
+{
+ dtio_setup_cmd(dtio);
+ dtio_setup_reconnect(dtio);
+ dtio_open_output(... |
Add map clause to 274768 | @@ -4,7 +4,7 @@ subroutine copy(A,B,N)
!complex A(*),B(*)
!real A(*),B(*)
real A(*), B(*)
- !$OMP TARGET PARALLEL DO
+ !$OMP TARGET PARALLEL DO map(tofrom: B) map(to: A)
do i=1,N
B(i) = A(i)
end do
|
Footer updated to Datafari 4.0.2 | pageEncoding="utf-8"%>
<footer class="bar-footer">
<div>
- <img src="images/datafari.png"><a href="mailto:support@francelabs.com" class="link"> Datafari v4.0.1 © Copyright France Labs</a>
+ <img src="images/datafari.png"><a href="mailto:support@francelabs.com" class="link"> Datafari v4.0.2 © Copyright France ... |
Sanity check for valid certificate in xProvisionCertificate
Add JITR cert unspecified check in vAlternateKeyProvisioning | @@ -571,6 +571,7 @@ CK_RV xProvisionCertificate( CK_SESSION_HANDLE xSession,
CK_BYTE xSubject[] = "TestSubject";
+
/* Initialize the client certificate template. */
xCertificateTemplate.xObjectClass.type = CKA_CLASS;
xCertificateTemplate.xObjectClass.pValue = &xCertificateClass;
@@ -593,6 +594,12 @@ CK_RV xProvisionCer... |
sixtop: add a debug message | @@ -393,6 +393,7 @@ sixp_output(sixp_pkt_type_t type, sixp_pkt_code_t code, uint8_t sfid,
return -1;
} else {
/* ready for proceed */
+ LOG_DBG("6P: sixp_output() allocates trans:%p\n", trans);
}
}
|
server: implement bzip2 support | @@ -118,6 +118,22 @@ gzipclose(void *strm)
}
#endif
+#ifdef HAVE_BZIP2
+/* bzip2 wrapped socket */
+static inline ssize_t
+bzipwrite(void *strm, const void *buf, size_t sze)
+{
+ return (ssize_t)BZ2_bzwrite((BZFILE *)strm, (void *)buf, (int)sze);
+}
+
+static inline int
+bzipclose(void *strm)
+{
+ BZ2_bzclose((BZFILE *... |
test: add test for auto DH security level meets the minimum | @@ -520,10 +520,10 @@ sub testssl {
subtest 'RSA/(EC)DHE/PSK tests' => sub {
######################################################################
- plan tests => 5;
+ plan tests => 6;
SKIP: {
- skip "TLSv1.0 is not supported by this OpenSSL build", 5
+ skip "TLSv1.0 is not supported by this OpenSSL build", 6
if $no_t... |
Update dependencies and homebridge-hue version | #!/bin/bash
-UPDATE_VERSION_HB="0.4.50"
-UPDATE_VERSION_HB_HUE="0.11.42"
-UPDATE_VERSION_HB_LIB="4.4.7"
+UPDATE_VERSION_HB="1.1.0"
+UPDATE_VERSION_HB_HUE="0.11.69"
+UPDATE_VERSION_HB_LIB="4.7.7"
UPDATE_VERSION_NPM="6.9.0"
-UPDATE_VERSION_NODE="12.13.0"
+UPDATE_VERSION_NODE="12.17.0"
# use install name to install the sp... |
Fix sha1 key | <!-- Version of Cassandra should be retrieved from a property file
as well as the SHA1 -->
<url>http://archive.apache.org/dist/cassandra/3.10/apache-cassandra-3.10-bin.tar.gz</url>
- <sha1>5f342acbbc5e8a389559a1fe8758a38d7aa6a992</sha1>
+ <sha1>1148ec0de5e596520249769e57a91ddbebffa912</sha1>
<unpack>true</unpack>
</con... |
server_rules: activate scene on setting lastScene | @@ -78,17 +78,13 @@ oc_resource_t *res_scenecol1;
static pthread_t toggle_switch_thread;
-static void
-perform_rule_action()
+static oc_event_callback_retval_t
+set_scene(void *data)
{
- /*
- * Set lastscene on the target scenecollection
- */
- if (actionenable) {
- strcpy(lastscene, ra_lastscene);
+ (void)data;
scenem... |
Added error message if the user requests more output parameters than is allowed. | @@ -2089,6 +2089,13 @@ void ReadOutputOrder(FILES *files,MODULE *module,OPTIONS *options,OUTPUT *output
if (lTmp[0] >= 0) {
NotPrimaryInput(iFile,options[OPT_OUTPUTORDER].cName,files->Infile[iFile].cIn,lTmp[0],iVerbose);
+ if (iNumIndices >= MAXARRAY) {
+ if (iVerbose >= VERBERR) {
+ fprintf(stderr,"ERROR: Too many out... |
fix help text indents | @@ -102,7 +102,7 @@ const char *kadnode_usage_str = "KadNode - A P2P name resolution daemon.\n"
#ifdef BOB
" --bob-gen-pair Generate a new public/secret key pair and exit.\n\n"
" --bob-add-skey <key> Add a secret key. The derived public key will be announced.\n"
-" The secret key will be used to prove that you have it.... |
Check a return value for success in ec_field_size() | @@ -48,7 +48,8 @@ static size_t ec_field_size(const EC_GROUP *group)
if (p == NULL || a == NULL || b == NULL)
goto done;
- EC_GROUP_get_curve_GFp(group, p, a, b, NULL);
+ if (!EC_GROUP_get_curve_GFp(group, p, a, b, NULL))
+ goto done;
field_size = (BN_num_bits(p) + 7) / 8;
done:
|
Force the server target filename
The server path may be customized using SCRCPY_APK. If its basename is
different from "scrcpy.apk", it will be pushed with a different name,
so the execution would fail.
Therefore, force the push target filename. | @@ -11,7 +11,7 @@ process_t push_server(const char *serial) {
if (!apk_path) {
apk_path = "scrcpy.apk";
}
- return adb_push(serial, apk_path, "/data/local/tmp/");
+ return adb_push(serial, apk_path, "/data/local/tmp/scrcpy.apk");
}
process_t enable_tunnel(const char *serial, Uint16 local_port) {
|
decisions: write implication | @@ -195,6 +195,8 @@ These decision PRs are also merged for documentation purposes.
- The decision process creates at least:
- two chances to comment decisions, and
- two commits in the git history.
+- It might be a barrier for newcomers to write a decision.
+ This is considered to be okay, as topics that need a decisio... |
[ci]add new bsp | @@ -84,6 +84,7 @@ env:
- RTT_BSP='stm32/stm32f103-dofly-lyc8' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-fire-arbitrary' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/stm32f103-hw100k-ibox' RTT_TOOL_CHAIN='sourcery-arm'
+ - RTT_BSP='stm32/stm32f107-uc-eval' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='stm32/... |
fix WinObjC.Tools dependencies | </NuGetPackageImportStamp>
<IncludeOutputsInPackage>false</IncludeOutputsInPackage>
<IncludeContentInPackage>false</IncludeContentInPackage>
+ <InferLegacyPackageReferences>false</InferLegacyPackageReferences>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Cond... |
simplify logic for opaqueing a mesh plot | @@ -9564,12 +9564,26 @@ ViewerPlotList::CanMeshPlotBeOpaque()
bool canBeOpaque = true;
for (i = 0; i < nPlots && canBeOpaque; ++i)
{
- if (plots[i].plot->IsInRange() && plots[i].realized &&
- !plots[i].hidden && !plots[i].plot->IsLabel() &&
- !(plots[i].plot->NoActorExists() &&
- plots[i].plot->GetErrorFlag()) &&
- (!p... |
update LLMax defaults | @@ -84,9 +84,11 @@ void TCatboostOptions::SetLeavesEstimationDefault() {
break;
}
case ELossFunction::QueryCrossEntropy: {
- defaultEstimationMethod = ELeavesEstimation::Simple;
+ defaultEstimationMethod = ELeavesEstimation::Newton;
defaultGradientIterations = 1;
- defaultNewtonIterations = 1;
+ defaultNewtonIterations... |
Rapidjson compilation flags | @@ -29,7 +29,7 @@ endif()
# C++ compiler flags
add_definitions("${SDK_CPP_DEFINES} -D_CARTO_MOBILE_SDK_PLATFORM=\"\\\"${SDK_PLATFORM}\\\"\" -D_CARTO_MOBILE_SDK_VERSION=\"\\\"${SDK_VERSION}\\\"\" -DHAVE_OT -DHAVE_UCDN -DHB_NO_MT -DFT2_BUILD_LIBRARY -DUSE_STD_REGEX -DBOOST_ALL_NO_LIB")
if(WIN32)
-add_definitions("-DNOMIN... |
Treat oic.wk.con an NCR | @@ -550,11 +550,12 @@ oc_core_is_DCR(oc_resource_t *resource, size_t device)
size_t DCRs_end = device_resources + OCF_D, i;
for (i = device_resources + 1; i <= DCRs_end; i++) {
+ if (resource == &core_resources[i]) {
if (i == (device_resources + OCF_INTROSPECTION_WK) ||
- i == (device_resources + OCF_INTROSPECTION_DATA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.