message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
BugID:17061547:Resolve GPIO Input read error for STM32L4 | @@ -241,7 +241,6 @@ int32_t hal_gpio_output_toggle(gpio_dev_t *gpio)
int32_t hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value)
{
- uint16_t pin = 0;
GPIO_TypeDef* GPIOx = NULL;
int32_t ret = 0;
@@ -251,8 +250,7 @@ int32_t hal_gpio_input_get(gpio_dev_t *gpio, uint32_t *value)
ret = get_gpio_group(gpio, &GPIOx);
if (... |
Fix bugs in repattern changes for zone verification | @@ -1107,7 +1107,7 @@ copy_pat_fixed(region_type* region, struct pattern_options* orig,
orig->verify_zone = p->verify_zone;
orig->verify_zone_is_default = p->verify_zone_is_default;
orig->verifier_timeout = p->verifier_timeout;
- orig->verifier_timeout_is_default = p->verifier_feed_zone_is_default;
+ orig->verifier_tim... |
UseWeights as in CPU | @@ -33,9 +33,8 @@ namespace NCatboostCuda {
TMetricHolder Compute(const IGpuMetric* metric) final {
CB_ENSURE(Point.GetObjectsSlice().Size(), "Set point first");
auto targets = Target.GetTarget().GetTargets().ConstCopyView();
-
TConstVec weights;
- if (metric->GetCpuMetric().UseWeights) {
+ if (metric->GetCpuMetric().U... |
haskell-debian-stretch: document memleak | - infos/provides =
- infos/recommends =
- infos/placements = getstorage setstorage
-- infos/status = maintained experimental
+- infos/status = maintained experimental memleak
- infos/metadata =
- infos/description = base for haskell plugins
@@ -48,3 +48,7 @@ configuration.
## Limitations
Currently the Haskell plugin su... |
Add mouse shortcut to expand settings panel
Double-click on extra mouse button to open the settings panel (a
single-click opens the notification panel).
This is consistent with the keyboard shortcut MOD+n+n.
PR <https://github.com/Genymobile/scrcpy/pull/2264> | @@ -693,7 +693,11 @@ input_manager_process_mouse_button(struct input_manager *im,
return;
}
if (control && event->button == SDL_BUTTON_X2 && down) {
+ if (event->clicks < 2) {
expand_notification_panel(im->controller);
+ } else {
+ expand_settings_panel(im->controller);
+ }
return;
}
if (control && event->button == SDL... |
Use value setter for reverse start angle setting | @@ -151,7 +151,7 @@ void lv_rotary_set_value(lv_obj_t * rotary, int16_t value, lv_anim_enable_t anim
lv_arc_set_start_angle(
rotary,
_lv_map(ext->cur_value, ext->min_value, ext->max_value,
- ext->arc.arc_angle_start, ext->arc.bg_angle_start)
+ ext->arc.arc_angle_end, ext->arc.bg_angle_start)
);
} else {
lv_arc_set_end_... |
build: run unit tests on windows | @@ -180,6 +180,7 @@ jobs:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: mingw32-make build/urbit
+ - run: mingw32-make test
- run: >
build/urbit -l -d -B ../../bin/solid.pill -F bus &&
curl -f --data '{"source":{"dojo":"+hood/exit"},"sink":{"app":"hood"}}'
|
add some fuction | @@ -38,6 +38,7 @@ class OMMath
Eigen::Vector3f makeEigenVector3(float v1, float v2, float v3);
Eigen::Matrix3f makeEigenMatrix3(float m11, float m12, float m13, float m21, float m22, float m23, float m31, float m32, float m33);
Eigen::Matrix3f makeRotationMatrix(float roll, float pitch, float yaw);
+
Eigen::Matrix3f sk... |
soprano: add frontend ssl request support | @@ -59,6 +59,21 @@ so_fewrite_cancel(so_stream_t *buf, uint32_t pid, uint32_t key)
return 0;
}
+static inline int
+so_fewrite_ssl_request(so_stream_t *buf, uint32_t pid, uint32_t key)
+{
+ int size = sizeof(uint32_t) + /* len */
+ sizeof(uint32_t); /* special */
+ int rc = so_stream_ensure(buf, size);
+ if (so_unlikely... |
epm: solve an issue about permission denied in container
If grpc address /var/run/epm is created with 0600 permission by epm service, the file epm can't be accessed
by epm client in container. So /var/run/epm's permission need be changed to 0755 | @@ -67,7 +67,7 @@ func runServer(opts *options.Options, stopCh <-chan struct{}) error {
// registry and start the cache pool manager server
v1alpha1.RegisterEnclavePoolManagerServer(s, &server)
// listen and serve
- if err := os.MkdirAll(filepath.Dir(cfg.GRPC.Address), 0600); err != nil {
+ if err := os.MkdirAll(filepa... |
Don't show update if not running within deCONZ-autostart.sh script | @@ -280,10 +280,13 @@ void DeRestPluginPrivate::internetDiscoveryExtractVersionInfo(QNetworkReply *rep
if (gwUpdateVersion != version)
{
DBG_Printf(DBG_INFO, "discovery found version %s for update channel %s\n", qPrintable(version), qPrintable(gwUpdateChannel));
+ if (gwRunFromShellScript)
+ {
gwUpdateVersion = version... |
android: travis - moving back to API 19 | @@ -80,9 +80,9 @@ android:
- extra-google-m2repository
- extra-android-m2repository
- build-tools-26.0.2
- - android-${RHO_ANDROID_LEVEL:-24}
- - addon-google_apis-google-${RHO_ANDROID_LEVEL:-24}
-
+ - android-${RHO_ANDROID_LEVEL:-19}
+ - addon-google_apis-google-${RHO_ANDROID_LEVEL:-19}
+ - sys-img-armeabi-v7a-android... |
Maintain backwards compatibility for Redis-py
Redis-py unfortunately has backward compatibility issues, so we change the
API based on the version. | @@ -223,12 +223,19 @@ def run_read_repair_test(c, num_keys=10):
# Make sure that we have the dynomite reserved metadata key
assert redis_conn.exists(ADD_SET_MD_KEY) == True
- # Get the TS of our 'key'
- add_ts = redis_conn.zscore(ADD_SET_MD_KEY, key)
+ # Get the TS of our 'key' and update it by 1.
+ add_ts = redis_conn... |
fix special char by removing replacing \ by / line | @@ -4,7 +4,7 @@ import json
def read(filename):
fileopen = open(filename, "r", encoding="utf-8")
text = fileopen.read()
- text = text.replace("\\", "/")
+ # text = text.replace("\\", "/")
data = json.loads(text)
fileopen.close()
|
docs: include powertools enablement in stateful | @@ -215,7 +215,7 @@ issue the following
[sms](*\#*) (*\chrootinstall*) kernel
# Include modules user environment
-[sms](*\#*) (*\chrootinstall*) lmod-ohpc
+[sms](*\#*) (*\chrootinstall*) --enablerepo=powertools lmod-ohpc
\end{lstlisting}
% end_ohpc_run
|
[Android] Cleanup makefile | @@ -160,8 +160,6 @@ LOCAL_CFLAGS := $(COMMON_CFLAGS)
LOCAL_LDFLAGS := -lm -latomic
ifeq ($(ANDROID_WITH_PTRACE),true)
- LOCAL_C_INCLUDES := third_party/android/libunwind/include \
- third_party/android/capstone/include
LOCAL_STATIC_LIBRARIES += libunwind-arch \
libunwind \
libunwind-ptrace \
|
Testing: Add tests for large constant fields (simple packing) | @@ -127,5 +127,20 @@ if [ $HAVE_AEC -eq 0 ]; then
grep -q "CCSDS support not enabled. Please rebuild with -DENABLE_AEC=ON" $temp_err
fi
+# Large constant fields
+# -----------------------
+input=${data_dir}/sample.grib2
+ECCODES_GRIB_LARGE_CONSTANT_FIELDS=0 ${tools_dir}/grib_set -d1 $input $temp
+grib_check_key_equals ... |
validation BUGFIX validate op checks | @@ -1806,7 +1806,7 @@ lyd_validate_op(struct lyd_node *op_tree, const struct lyd_node *dep_tree, enum
struct lyd_node *op_node;
uint32_t int_opts;
- LY_CHECK_ARG_RET(NULL, op_tree, !op_tree->parent, !dep_tree || !dep_tree->parent, (data_type == LYD_TYPE_RPC_YANG) ||
+ LY_CHECK_ARG_RET(NULL, op_tree, !dep_tree || !dep_t... |
Straighten Quickstart | @@ -7,14 +7,16 @@ The next lines will start oidc-agent and the client registration process.
eval `oidc-agent`
oidc-gen <shortname>
```
-A client will be registered, but it misses the password grant type.
-Contact an INDIGO IAM admin to update the client configuration.
-All needed information are printed by oidc-gen.
+
... |
repo: MAINTAINERS instructions for multi pills | @@ -159,6 +159,37 @@ so that I can type e.g. `git mu origin/foo 1337`.
If you're making a Vere release, just play it safe and update all the pills.
+To produce multi pills, you will need to set up an environment with the
+appropriate desks with the appropriate contents, doing something like the
+following (where `> ` d... |
Fix typo in bytecode description. | newoption {
trigger = "bytecode",
- description = "Embed scripts as bytecode instead of stripped souce code"
+ description = "Embed scripts as bytecode instead of stripped source code"
}
newoption {
|
Correct some information in the OpenGL section of the developer documentation. | @@ -21,13 +21,13 @@ The sections of Qt that deal with OpenGL are ::
qtbase/src/opengl
qtbase/src/openglextensions
- plugins/platforms/xcb/gl_integrations/xcb_glx
+ qtbase/src/plugins/platforms/xcb/gl_integrations/xcb_glx
- platformsupport/glxconvenience
+ qtbase/src/platformsupport/glxconvenience
The context creation i... |
doc: fixes release note extension | @@ -213,7 +213,7 @@ you up-to-date with the multi-language support provided by Elektra.
- <<TODO>>
- <<TODO>>
- <<TODO>>
-- Minor readability improvement in `CODING.md`
+- Minor readability improvement in `CODING.md` _(@loessberth)_
- <<TODO>>
- <<TODO>>
- Fix dead link and compile instructions _(Burkhard Hampl @bhampl... |
doc(bindings): fix format for doc/pikascript | # PikaScript
-# What is PikaScript ?
+## What is PikaScript ?
[PikaScript](https://github.com/pikasTech/pikascript) is a Python interpreter designed specifically for microcontrollers, and it supports a subset of the common Python3 syntax.
@@ -12,7 +12,7 @@ It's smarter, with a unique C module mechanism that allows you ... |
OpenCanopy: Support basic keyboard-based scrolling | @@ -185,6 +185,39 @@ InternalBootPickerSelectEntry (
Selector->Obj.OffsetX += (VolumeEntryObj->Width - Selector->Obj.Width) / 2;
}
+INT64
+InternelBootPickerScrollSelected (
+ IN UINT32 Scale
+ )
+{
+ CONST GUI_VOLUME_ENTRY *SelectedEntry;
+ INT64 EntryOffsetX;
+ INT64 ScrollDelta;
+
+ ASSERT (mBootPicker.SelectedEntry... |
Build: Fix openssl lookup for macbuild | @@ -12,6 +12,7 @@ matrix:
compiler: clang
script:
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl
- "./macbuild.tool"
deploy:
@@ -32,6 +33,7 @@ matrix:
compiler: clang
before_install:
+ - HOMEBREW_NO_AUTO_UPDATE=1 brew install openssl
- curl -Ls https://entrust.com/root-certificates/entrust_l1k.cer -o ~/entrust_l1k.... |
Update run_rocm_test.sh for QA testing.
Add ROCM_TARGET_LST path to avoid using user
defined gpu list to prevent failures. | #
#
+# Use bogus path to avoid using target.lst, a user-defined target list
+# used by rocm_agent_enumerator.
+export ROCM_TARGET_LST=/opt/nowhere
+
scriptdir=$(dirname "$0")
parentdir=`eval "cd $scriptdir;pwd;cd - > /dev/null"`
aompdir="$(dirname "$parentdir")"
|
Fix leak on server start error
Fail on SDL_strdup() failure, and free the duplicated serial on further
error. | @@ -152,15 +152,20 @@ SDL_bool server_start(struct server *server, const char *serial, Uint16 local_po
if (serial) {
server->serial = SDL_strdup(serial);
+ if (!server->serial) {
+ return SDL_FALSE;
+ }
}
if (!push_server(serial)) {
+ SDL_free((void *) server->serial);
return SDL_FALSE;
}
server->server_copied_to_devic... |
White space handling | @@ -118,11 +118,11 @@ int bscrypt_base64_decode(char *target, char *encoded, int base64_len) {
target = encoded;
int written = 0;
char tmp1, tmp2, tmp3, tmp4;
- while (base64_len >= 4) {
while (*encoded == '\r' || *encoded == '\n' || *encoded == ' ') {
base64_len--;
encoded++;
}
+ while (base64_len >= 4) {
tmp1 = *(enc... |
OnlineChecks: disable default options | @@ -97,10 +97,10 @@ BEGIN
CONTROL "Enable VirusTotal detection highlighting",IDC_ENABLE_IDC_ENABLE_VIRUSTOTAL_HIGHLIGHT,
"Button",BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP,7,20,141,10
PUSHBUTTON "Close",IDCANCEL,129,82,50,14
- CONTROL "Enable detection actions",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,34,94,... |
hw/mcu/dialog: Put OTPC to deep standby
This saves a lot of power. | @@ -101,6 +101,14 @@ void SystemInit(void)
CRG_TOP->PMU_CTRL_REG |= CRG_TOP_PMU_CTRL_REG_RETAIN_CACHE_Msk;
#endif
+ /* Switch OTPC to deep standby (DSTBY) mode */
+ CRG_TOP->CLK_AMBA_REG |= CRG_TOP_CLK_AMBA_REG_OTP_ENABLE_Msk;
+ OTPC->OTPC_MODE_REG = (OTPC->OTPC_MODE_REG &
+ ~OTPC_OTPC_MODE_REG_OTPC_MODE_MODE_Msk) |
+ ... |
address last warnings as seen by gcc7 | @@ -237,7 +237,7 @@ static inline void get_cpumap(int node, unsigned long * node_info) {
if(k!=0){
name[k]='\0';
affinity[count++] = strtoul(name, &dummy, 16);
- k=0;
+ // k=0;
}
// 0-63bit -> node_info[0], 64-128bit -> node_info[1] ....
// revert the sequence
@@ -293,7 +293,7 @@ static inline void get_share(int cpu, i... |
Fix warning, this chunk of code wasn't very useful. | static const constexpr clap_version m = CLAP_VERSION;
int main(int, char **) {
- clap_param_info param_info;
- param_info.module[0] = 'm';
-
return !clap_version_is_compatible(m);
}
\ No newline at end of file
|
quic: little more simplification | @@ -560,11 +560,13 @@ def build_quic_trace_result(event, fields):
load_common_fields(rv, event)
for k in fields:
rv[k] = getattr(event, k)
+ if k == "token_preview":
+ rv[k] = binascii.hexlify(rv[k])
return rv
def handle_quic_event(cpu, data, size):
ev = b["events"].event(data)
- if allowed_quic_event and line.type != ... |
[Polar] Fix test failure | @@ -22,7 +22,7 @@ import (
// initSvc select Polarises to connect, or disable polaris
func TestPolarisConnectSvc_initSvc(t *testing.T) {
- polarisIDMain, _ := peer.IDB58Decode("16Uiu2HAkvJTHFuJXxr15rFEHsJWnyn1QvGatW2E9ED9Mvy4HWjVF")
+ polarisIDMain, _ := peer.IDB58Decode("16Uiu2HAkuxyDkMTQTGFpmnex2SdfTVzYfPztTyK339rqUd... |
Update extensions tarball version to 4.1
This drops unused libraries and programs from the extensions tarball.
Unused dependencies that were dropped:
- clapack
- gimli
- json-c
- net-snmp
- pcre | <dependency org="OpenSSL" name="openssl" rev="1.0.2l" conf="rhel7_x86_64->rhel6_x86_64;rhel6_x86_64->rhel6_x86_64;suse11_x86_64->sles11_x86_64;sles11_x86_64->sles11_x86_64;aix7_ppc_64->aix7_ppc_64" />
<dependency org="gnu" name="libstdc" rev="6.0.22" conf="rhel7_x86_64->rhel6_x86_64;rhel6_x86_64->rhel6_x86_64;suse11_x8... |
fix out of bounds selection crash | @@ -108,8 +108,16 @@ export const RollChannelSelectionAreaFwd = ({
(e: MouseEvent) => {
if (gridRef.current && tool === "selection" && e.button === 0) {
const bounds = gridRef.current.getBoundingClientRect();
- const x = Math.floor((e.pageX - bounds.left) / cellSize) * cellSize;
- const y = Math.floor((e.pageY - bounds... |
Tighten struct field restrictions re pointers. | @@ -382,14 +382,9 @@ func (c *Checker) checkFields(fields []*a.Node, banPtrTypes bool) error {
if err := q.tcheckTypeExpr(f.XType(), 0); err != nil {
return fmt.Errorf("%v in field %q", err, f.Name().String(c.tm))
}
- if banPtrTypes {
- for x := f.XType(); x.Inner() != nil; x = x.Inner() {
- if x.Decorator().Key() == t... |
Remove unnecessary define guard
The GD32VF103 family only has USB-OTG peripherals. | #define USE_SOF 0
#if defined (STM32F105x8) || defined (STM32F105xB) || defined (STM32F105xC) || \
- defined (STM32F107xB) || defined (STM32F107xC) || defined (GD32VF103)
+ defined (STM32F107xB) || defined (STM32F107xC)
#define STM32F1_SYNOPSYS
#endif
|
ble_mesh: Fix compile error when using release optimization level | @@ -606,7 +606,7 @@ static void bt_mesh_scan_cb(const bt_mesh_addr_t *addr, s8_t rssi,
{
#if (CONFIG_BLE_MESH_PROVISIONER && CONFIG_BLE_MESH_PB_GATT) || \
CONFIG_BLE_MESH_GATT_PROXY_CLIENT
- u16_t uuid;
+ u16_t uuid = 0x0;
#endif
if (adv_type != BLE_MESH_ADV_NONCONN_IND && adv_type != BLE_MESH_ADV_IND) {
|
Add w->proto valid check for Widget_CheckType() | @@ -112,6 +112,9 @@ LCUI_BOOL Widget_CheckType( LCUI_Widget w, const char *type )
if( strcmp( w->type, type ) == 0 ) {
return TRUE;
}
+ if( !w->proto ) {
+ return FALSE;
+ }
for( proto = w->proto->proto; proto; proto = proto->proto ) {
if( strcmp( proto->name, type ) == 0 ) {
return TRUE;
|
Fix uno getting detected as dos | @@ -23,7 +23,7 @@ void detect_board_type(void) {
// SPI lines floating: white (TODO: is this reliable? Not really, we have to enable ESP/GPS to be able to detect this on the UART)
set_gpio_output(GPIOC, 14, 1);
set_gpio_output(GPIOC, 5, 1);
- if(!detect_with_pull(GPIOB, 1, PULL_UP)){
+ if(!detect_with_pull(GPIOB, 1, PU... |
Accurately list htslib/samtools/bcftools contents in MANIFEST.in
Rewrite these inclusions so that the sdist tarball contains everything
checked into the repository. In particular:
* Add new htscodecs source files and build scripts
* Add LICENSE files and READMEs
* Exclude new config_vars.h and samtools_config_vars.h ge... | @@ -23,36 +23,27 @@ include win32/*.[ch]
prune tests/
# samtools
-include samtools/configure
-include samtools/config.mk.in
-include samtools/config.h.in
-include samtools/*.h
-include samtools/*.c
-exclude samtools/config.h
-include samtools/*/*.h
+include samtools/LICENSE samtools/README samtools/lz4/LICENSE
+recursi... |
tglrvp: Enable Thunderbolt-compatible mode
BRANCH=none
TEST=Able to detect Thunderbolt-compatible device | /* Enabling SOP* communication */
#define CONFIG_USB_PD_DECODE_SOP
+/* Enabling Thunderbolt-compatible mode */
+#define CONFIG_USB_PD_TBT_COMPAT_MODE
+
#ifndef __ASSEMBLER__
enum tglrvp_charge_ports {
|
memleaktest with MSVC's AddressSanitizer
Disabling memleaktest under MSVC because leak detection is not a supported feature with MSVC's AddressSanitizer. Leaving ASan enabled in this case causes a test failure because the test suite is expecting the leak to be detected.
CLA: trivial | # endif
#endif
/* If __SANITIZE_ADDRESS__ isn't defined, define it to be false */
-#ifndef __SANITIZE_ADDRESS__
+/* Leak detection is not yet supported with MSVC on Windows, so */
+/* set __SANITIZE_ADDRESS__ to false in this case as well. */
+#if !defined(__SANITIZE_ADDRESS__) || defined(_MSC_VER)
+# undef __SANITIZE_... |
tools/tcpconnect: Support IPv6 DNS
Add IPv6 DNS support for tcpconnect.
Fixes | @@ -322,6 +322,31 @@ delete_and_return:
return 0;
}
+#include <uapi/linux/udp.h>
+
+int trace_udpv6_recvmsg(struct pt_regs *ctx)
+{
+ struct sk_buff *skb = (struct sk_buff *)PT_REGS_PARM2(ctx);
+ struct udphdr *hdr = (void*)skb->head + skb->transport_header;
+ struct dns_data_t *event;
+ int zero = 0;
+ void *data;
+
+... |
Name each Lily58 side differently. | -if SHIELD_LILY58_LEFT || SHIELD_LILY58_RIGHT
+if SHIELD_LILY58_LEFT
config ZMK_KEYBOARD_NAME
- default "Lily58"
+ default "Lily58 Left"
+
+endif
+
+if SHIELD_LILY58_RIGHT
+
+config ZMK_KEYBOARD_NAME
+ default "Lily58 Right"
endif
|
ease: update icheck suppression | @@ -28,3 +28,15 @@ elektraUnsignedLongLongToString
elektraFloatToString
elektraDoubleToString
elektraLongDoubleToString
+kdb_octet_t
+kdb_boolean_t
+kdb_short_t
+kdb_long_t
+kdb_long_long_t
+kdb_unsigned_short_t
+kdb_unsigned_long_t
+kdb_unsigned_long_long_t
+kdb_char_t
+kdb_float_t
+kdb_double_t
+kdb_long_double_t
|
Change exit_checker comment on returned status | @@ -91,9 +91,9 @@ my %hooks = (
# exit_checker is used by run() directly after completion of a command.
# it receives the exit code from that command and is expected to return
- # 1 (for success) or 0 (for failure). This is the value that will be
- # returned by run().
- # NOTE: When run() gets the option 'capture => 1... |
cache exist status | TEST_LOGS=""
MAKEFLAGS=""
+status=0
source ./common/TEST_ENV || exit 1
source ./common/functions || exit 1
@@ -22,14 +23,16 @@ for compiler in llvm4 $COMPILER_FAMILIES ; do
echo "User Environment: Compiler tests: $compiler"
echo "-------------------------------------------------------"
- module purge || exit 1
- module... |
Multihit glitch fix
added the "multihit glitch" lines to the translation file | @@ -150,6 +150,10 @@ msgid "Infinite Lives Off"
msgstr ""
msgid "Infinite Lives On"
msgstr ""
+msgid "Multihit Glitch Off"
+msgstr ""
+msgid "Multihit Glitch On"
+msgstr ""
msgid "Level:"
msgstr ""
msgid "Life bonus"
|
Fixes the p2p_feefilter functional test | @@ -57,25 +57,28 @@ class FeeFilterTest(RavenTestFramework):
NetworkThread().start()
test_node.wait_for_verack()
- # Test that invs are received for all txs at feerate of 70 sat/byte
- node1.settxfee(Decimal("0.00070000"))
+ # Test that invs are received for all txs at feerate of 2,000,000 sats
+ node1.settxfee(Decimal... |
VERSION bump to version 0.11.27 | @@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 11)
-set(LIBNETCONF2_MICRO_VERSION 26)
+set(LIBNETCONF2_MICRO_VERSION 27)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(L... |
Testing: add test for grib_compare with index files | @@ -50,11 +50,25 @@ EOF
diff $tempRef $tempOut
-
${tools_dir}/grib_index_build -k mars.levtype -o $tempIndex ${data_dir}/tigge_cf_ecmwf.grib2 |\
grep -q "mars.levtype = { sfc, pl, pv, pt }"
${tools_dir}/grib_index_build -k mars.levtype:i -o $tempIndex ${data_dir}/tigge_cf_ecmwf.grib2 |\
grep -q "mars.levtype = { 103, 1... |
switch bcc to use single instance per bcc process,
instance dir is bcc_pid, fixed issue | @@ -373,14 +373,16 @@ void * bpf_attach_kprobe(int progfd, enum bpf_probe_attach_type attach_type, con
close(kfd);
if (access("/sys/kernel/debug/tracing/instances", F_OK) != -1) {
- snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/instances/%s", new_name);
+ snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/in... |
Test external param entity with no further external parser | @@ -4357,6 +4357,7 @@ external_entity_devaluer(XML_Parser parser,
"<!ENTITY % e1 SYSTEM 'bar'>\n"
"%e1;\n";
XML_Parser ext_parser;
+ int clear_handler = (intptr_t)XML_GetUserData(parser);
if (systemId == NULL || !strcmp(systemId, "bar"))
return XML_STATUS_OK;
@@ -4365,6 +4366,8 @@ external_entity_devaluer(XML_Parser pa... |
http_server: api/v1: metrics: expand helper text for Prometheus | @@ -210,6 +210,12 @@ flb_sds_t metrics_help_txt(char *metric_name, flb_sds_t *metric_helptxt)
else if (strstr(metric_name, "output_proc_bytes")) {
return flb_sds_cat(*metric_helptxt, " Number of processed output bytes.\n", 35);
}
+ else if (strstr(metric_name, "output_dropped_records")) {
+ return flb_sds_cat(*metric_h... |
evp_test: use the test file name as the test title | @@ -2077,6 +2077,7 @@ static int do_test_file(const char *testfile)
char buf[10240];
EVP_TEST t;
+ set_test_title(testfile);
current_test_file = testfile;
if (!TEST_ptr(in = BIO_new_file(testfile, "rb")))
return 0;
|
Use macos-latest for CI. | @@ -9,7 +9,7 @@ on:
jobs:
build-conan:
- runs-on: macos-10.15
+ runs-on: macos-latest
timeout-minutes: 120
steps:
- name: Checkout source code
@@ -22,10 +22,6 @@ jobs:
run: |
conan profile new default --detect
conan profile update settings.build_type=Release default
- conan profile update settings.compiler=apple-clang ... |
wireguard: Document wireguard async mode default
Type: improvement | @@ -206,12 +206,12 @@ define wireguard_peers_details {
/** \brief Wireguard Set Async mode
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
- @param async_enable - wireguard async mode on or off
+ @param async_enable - wireguard async mode on or off, ... |
[mechanics] fix axis min/max in JointStopR | @@ -62,7 +62,7 @@ JointStopR::JointStopR(SP::NewtonEulerJointR joint, SP::SiconosVector pos,
, _dir(dir)
{
_axisMin = 100;
- _axisMax = -100;
+ _axisMax = 0;
for (int i=0; i < _axis->size(); i++)
{
if ((*_axis)[i] > _axisMax) _axisMax = (*_axis)[i];
|
adds documentation building functions | language: python
-# Caching GSL and CLASS
+# Caching all the depencencies so that they don't have to be redownloaded and
+# compiled everytime
cache:
directories:
- $HOME/build/EiffL/CCL/build/GSL/src
@@ -8,6 +9,15 @@ cache:
- $HOME/build/EiffL/CCL/build/SWIG/src
- $HOME/build/EiffL/CCL/build/CLASS/src
+#addons:
+# apt... |
Android build script fixes | @@ -2,6 +2,7 @@ import os
import sys
import shutil
import argparse
+import string
from build.sdk_build_utils import *
ANDROID_TOOLCHAINS = {
@@ -134,7 +135,7 @@ def buildAndroidAAR(args):
distDir = getDistDir('android')
version = args.buildversion
- with open('%s/scripts/build-aar/carto-mobile-sdk.pom.template' % baseD... |
Update check_sig_alg_match() to work with provided keys
Use EVP_PKEY_is_a() to check whether an EVP_PKEY is compatible with the
given signature. | @@ -366,16 +366,15 @@ static int setup_crldp(X509 *x)
/* Check that issuer public key algorithm matches subject signature algorithm */
static int check_sig_alg_match(const EVP_PKEY *issuer_key, const X509 *subject)
{
- int signer_nid, subj_sig_nid;
+ int subj_sig_nid;
if (issuer_key == NULL)
return X509_V_ERR_NO_ISSUER... |
[chainmaker][#440]add BoatGetTimes realize | @@ -87,3 +87,10 @@ void BoatSleep(BUINT32 second)
{
sleep(second);
}
+
+BUINT64 BoatGetTimes()
+{
+ BUINT64 timesec = 0;
+ time(×ec);
+ return timesec;
+}
\ No newline at end of file
|
VERSION bump to version 1.3.70 | @@ -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 69)
+set(SYSREPO_MICRO_VERSION 70)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
rust/async_usb: impl Sync to concentrate unsafe code in one place
It is also a bit safer then the previous `mut` prefix workaround as it
prevents mutating the state without going through the RefCell. | @@ -41,17 +41,16 @@ enum UsbTaskState {
ResultAvailable(UsbOut),
}
+/// A safer version of UsbTaskState. RefCell so we cannot accidentally borrow illegally.
+struct SafeUsbTaskState(RefCell<UsbTaskState>);
+
+/// Safety: this implements Sync even though it is not thread safe. This is okay, as we
+/// run only in a sing... |
bio: check for valid socket when closing
Fixes coverity 271258 Improper use of negative value (NEGATIVE_RETURNS) | @@ -335,7 +335,7 @@ int BIO_accept_ex(int accept_sock, BIO_ADDR *addr_, int options)
*/
int BIO_closesocket(int sock)
{
- if (closesocket(sock) < 0)
+ if (sock < 0 || closesocket(sock) < 0)
return 0;
return 1;
}
|
use JAVA_TOOL_OPTIONS instead of _JAVA_OPTIONS | @@ -368,16 +368,17 @@ Agent_OnLoad(JavaVM *jvm, char *options, void *reserved)
void
initJavaAgent() {
- //TODO:
- // - check if we are in a java process
- // - preserve existing _JAVA_OPTIONS
char *var = getenv("LD_PRELOAD");
if (var != NULL) {
+ /*
+ set JAVA_TOOL_OPTIONS so that JVM can load libscope.so as a java age... |
test-suite: disable C++ test with hypre - the example it ships with no
longer works as it relies on headerfiles which are not included with
install. | @@ -36,9 +36,9 @@ TESTS += ex9
check_PROGRAMS += ex9
ex9_SOURCES = ex9.c
-TESTS += ex10
-check_PROGRAMS += ex10
-ex10_SOURCES = ex10.cxx
+## TESTS += ex10
+## check_PROGRAMS += ex10
+## ex10_SOURCES = ex10.cxx
TESTS += ex11
check_PROGRAMS += ex11
|
arvo: remove refactoring comments | :: pyt: cached types
::
[sac=worm vil=vile]
- :: +refine-moves: move list from vase (was +said)
+ :: +refine-moves: move list from vase
::
++ refine-moves
|= vax=vase
=^ mov sac (refine-move hed)
=^ moz sac $(vax tal)
[[mov moz] sac]
- :: +refine-move: move from vase (was in +sump)
+ :: +refine-move: move from vase
::
... |
Fix issue
All variables without a $ prefix lost their last character due to off by one error | @@ -30,7 +30,7 @@ struct cmd_results *cmd_set(int argc, char **argv) {
if (!tmp) {
return cmd_results_new(CMD_FAILURE, "set", "Not possible to create variable $'%s'", argv[0]);
}
- snprintf(tmp, size, "$%s", argv[0]);
+ snprintf(tmp, size+1, "$%s", argv[0]);
argv[0] = tmp;
}
|
Lowering OMV2 sensor clock to work with the higher sensor PLL. | #define OMV_XCLK_SOURCE (OMV_XCLK_TIM)
// Sensor external clock timer frequency.
-#define OMV_XCLK_FREQUENCY (8000000)
+#define OMV_XCLK_FREQUENCY (5000000)
// Have built-in RGB->LAB table.
#define OMV_HAVE_LAB_TABLE
|
parser: json: do not stop packing on time lookup error
If the parser have time lookup enabled and it fails, do not
skip the record, instead add a more verbose message about the
exception. | @@ -38,10 +38,12 @@ int flb_parser_json_do(struct flb_parser *parser,
char *mp_buf = NULL;
char *time_key;
char *tmp_out_buf = NULL;
+ char tmp[255];
size_t tmp_out_size = 0;
size_t off = 0;
size_t map_size;
size_t mp_size;
+ size_t len;
msgpack_sbuffer mp_sbuf;
msgpack_packer mp_pck;
msgpack_unpacked result;
@@ -153,1... |
VERSION bump to version 0.12.59 | @@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 12)
-set(LIBNETCONF2_MICRO_VERSION 58)
+set(LIBNETCONF2_MICRO_VERSION 59)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(L... |
Makefile/mac: sort vars | @@ -70,6 +70,8 @@ ifeq ($(OS)$(findstring Microsoft,$(KERNEL)),Linux) # matches Linux but excludes
else ifeq ($(OS),Darwin)
ARCH := DARWIN
+ ARCH_SRCS := $(sort $(wildcard mac/*.c))
+
# MacOS-X grep seem to use colors unconditionally
GREP_COLOR = --color=never
@@ -119,8 +121,6 @@ else ifeq ($(OS),Darwin)
-framework Com... |
graph-store: no-op if we already have *any* of the indexes in an %add-nodes event | |^
=/ [=graph:store mark=(unit mark:store)]
(~(got by graphs) resource)
+ :: no-op if we already have any of the nodes
+ ?: (check-for-duplicates resource ~(key by nodes))
+ ::~& nooped-due-to-duplicate-nodes+[resource nodes]
+ [~ state]
=/ =update-log:store (~(got by update-logs) resource)
=. update-log
(put:orm-log u... |
Verbose log enhancement: print client info when client exit
It could be useful for debugging to know which client got disconnected. | @@ -2166,7 +2166,11 @@ void readQueryFromClient(connection *conn) {
return;
}
} else if (nread == 0) {
- serverLog(LL_VERBOSE, "Client closed connection");
+ if (server.verbosity <= LL_VERBOSE) {
+ sds info = catClientInfoString(sdsempty(), c);
+ serverLog(LL_VERBOSE, "Client closed connection %s", info);
+ sdsfree(inf... |
Update data.yml
fix fails | @@ -1054,7 +1054,7 @@ classes:
- ea: 0x1417DE5F0
Client::UI::Info::InfoProxyPageInterface:
vtbls:
-#fail - ea: 0x1417DE650
+ - ea: 0x1417DE650
base: Client::UI::Info::InfoProxyInterface
Common::Configuration::ConfigBase::ChangeEventInterface:
vtbls:
@@ -2953,7 +2953,7 @@ classes:
- ea: 0x141842970
Client::UI::Shell::Ra... |
Added Fractal sound driver includes when module is enabled | #ifndef _GENESIS_H_
#define _GENESIS_H_
-#define SGDK_VERSION 1.70
+#define SGDK_VERSION 1.71
#include "types.h"
#include "ext/mw/megawifi.h"
#endif
+#if (MODULE_FRACTAL != 0)
+#include "ext/fractal/fractal.h"
+#include "ext/fractal/visual_dbg.h"
+#endif
+
// preserve compatibility with old resources name
#define logo_... |
Fix Mac build
Not sure why I'm getting a linker error with these not marked as
static. Should investigate. | #pragma once
#include "base.h"
-inline Glyph gbuffer_peek(Gbuffer gbuf, Usz height, Usz width, Usz y, Usz x) {
+static inline Glyph gbuffer_peek(Gbuffer gbuf, Usz height, Usz width, Usz y,
+ Usz x) {
assert(y < height && x < width);
(void)height;
return gbuf[y + width + x];
}
-inline Glyph gbuffer_peek_relative(Gbuffer... |
Update jsapi.c
Fix typo... oops. | @@ -775,7 +775,7 @@ static duk_ret_t duk_reset(duk_context* duk)
return 0;
}
-static const char* const Apis[] = API_KEYWORDS;
+static const char* const ApiKeywords[] = API_KEYWORDS;
static const struct{duk_c_function func; s32 params;} ApiFunc[] =
{
{NULL, 0},
|
Hack to make it boot. | @@ -357,8 +357,8 @@ doJob serf job = do
bootJob :: HasLogFunc e => Serf e -> Job -> RIO e (Job, SerfState)
bootJob serf job = do
doJob serf job >>= \case
- (job, ss, []) -> pure (job, ss)
- (job, ss, fx) -> throwIO (EffectsDuringBoot (jobId job) fx)
+ (job, ss, _) -> pure (job, ss)
+-- (job, ss, fx) -> throwIO (Effects... |
sctp tests only for supported platforms | @@ -21,10 +21,10 @@ tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 not.r
tests_general.append([1, 0, workdir + 'client_http_get -u /cgi-bin/he -v 2 buildbot.nplab.de'])
tests_general.append([0, 0, workdir + 'client_http_get -n 2 -u /files/4M bsd10.nplab.de'])
tests_general.append([0, 0, work... |
Improve sctp_get_frag_point | @@ -6812,13 +6812,15 @@ sctp_get_frag_point(struct sctp_tcb *stcb)
overhead += sctp_get_auth_chunk_len(asoc->peer_hmac_id);
}
} else {
- overhead += sizeof(struct sctp_idata_chunk);
+ overhead += sizeof(struct sctp_data_chunk);
if (sctp_auth_is_required_chunk(SCTP_DATA, asoc->peer_auth_chunks)) {
overhead += sctp_get_a... |
Corrected some position combinations when R/W to backup memory | @@ -38,11 +38,11 @@ HRESULT Library_nf_hardware_stm32_native_nanoFramework_Hardware_Stm32_BackupMemo
// check if the store address is starting at a register address boundary
remainder = (uint32_t)((uint32_t *)storeAddress) % sizeof(RTC_BKP0R_Msk);
+ registerAddress = (uint32_t *)(storeAddress - remainder);
if (remainde... |
remove Z axis bias on accelerometer / better settings to fight drift | @@ -27,11 +27,11 @@ extern debug_type debug;
// filter time in seconds
// time to correct gyro readings using the accelerometer
// 1-4 are generally good
-#define FILTERTIME 2.0
+#define FILTERTIME 5.0
// accel magnitude limits for drift correction
-#define ACC_MIN 0.7f
-#define ACC_MAX 1.3f
+#define ACC_MIN 0.9f
+#def... |
mesh: Fix resetting configuration model state
Instead of manually iterating all app keys and net keys, use the
bt_mesh_subnet_del() helper on all subnets. This will also clear any
app keys, and ensures that persistent storage is cleared as well. | @@ -3211,22 +3211,15 @@ void bt_mesh_cfg_reset(void)
cfg->hb_sub.dst = BT_MESH_ADDR_UNASSIGNED;
cfg->hb_sub.expiry = 0;
- hb_pub_disable(cfg);
-
- /* Delete all app keys */
- for (i = 0; i < ARRAY_SIZE(bt_mesh.app_keys); i++) {
- struct bt_mesh_app_key *key = &bt_mesh.app_keys[i];
-
- if (key->net_idx != BT_MESH_KEY_UN... |
Attempt to fix FPS cap
hopefully this should work | from osr2mp4.ImageProcess import imageproc
+import numpy as np
def img_resize(img, start, end, step):
outputs = []
- for x in range(start, end, step):
+ if not step:
+ step = 1
+ for x in np.arange(start, end, step):
im = imageproc.change_size(img, x/1000, x/1000)
outputs.append(im)
return outputs
|
zephyr/zephyr_storage: Use stdint.h types.
Zephyr migrated to use uint8_t, etc. instead of u8_t, etc. | @@ -146,7 +146,7 @@ typedef struct _zephyr_flash_area_obj_t {
const struct flash_area *area;
int block_size;
int block_count;
- u8_t id;
+ uint8_t id;
} zephyr_flash_area_obj_t;
STATIC void zephyr_flash_area_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
|
Added texture format for RGB BC1. | @@ -710,6 +710,7 @@ typedef enum SceGxmTextureFormat {
SCE_GXM_TEXTURE_FORMAT_PVRTII4BPP_1BGR = SCE_GXM_TEXTURE_BASE_FORMAT_PVRTII4BPP | SCE_GXM_TEXTURE_SWIZZLE4_1BGR,
SCE_GXM_TEXTURE_FORMAT_UBC1_ABGR = SCE_GXM_TEXTURE_BASE_FORMAT_UBC1 | SCE_GXM_TEXTURE_SWIZZLE4_ABGR,
+ SCE_GXM_TEXTURE_FORMAT_UBC1_1BGR = SCE_GXM_TEXTUR... |
gall: cork a subscription's ames flow on-kick
Gall tells ames to %cork flows for subscriptions it has closed.
Receiving a kick also closes a subscription, but gall wasn't issuing a
%cork in that case. We correct that here.
Inlines +mo-handle-ames-response's logic at its only callsite. | ::
!!
=/ =ames-response ;;(ames-response payload.sign-arvo)
- (mo-handle-ames-response ames-response)
+ :: %d: diff; ask clay to validate .noun as .mark
+ :: %x: kick; tell agent the publisher canceled the subscription, and
+ :: cork; tell ames to close the associated flow.
+ ::
+ ?- -.ames-response
+ %d (mo-give %unto... |
removed hard calls on json blobs | ?. ?=($json p.p.cuf)
:: ~> %slog.`%*(. >[%backing p.p.cuf %q-p-cuf]< &3.+> (sell q.p.cuf))
(back-turbo tee %json p.cuf)
- (get-rush:(ire-ix p.tee) q.tee ((hard json) q.q.p.cuf))
+ (get-rush:(ire-ix p.tee) q.tee (,json q.q.p.cuf))
::
$quit (get-quit:(ire-ix p.tee) q.tee)
==
=/ cay=cage (result-to-cage:ford build-result.... |
roller: proper parsing of crypto-suite | %- ot
:~ ['encrypt' (cu to-hex so)]
['auth' (cu to-hex so)]
- ['cryptoSuite' so]
+ ['cryptoSuite' (su dem)]
['breach' bo]
==
::
:- 'keys'
%- pairs
:~ ['life' s+(json-number life.keys.net)]
- ['suite' s+`@t`suite.keys.net]
+ ['suite' s+(json-number suite.keys.net)]
['auth' (hex 32 auth.keys.net)]
['crypt' (hex 32 crypt.... |
remove extra define for __NR_getrandom and add some comments | @@ -319,9 +319,7 @@ static ssize_t sysctl_random(char *buf, size_t buflen)
# define __NR_getrandom 352
# elif defined(__cris__)
# define __NR_getrandom 356
-# elif defined(__aarch64__)
-# define __NR_getrandom 278
-# else /* generic */
+# else /* generic (f.e. aarch64, loongarch, loongarch64) */
# define __NR_getrandom... |
ConnectionFTDI: fix missing error handling on Windows
some error handling in BeginDataReading and BeginDataSending
was done only in Linux. | @@ -444,7 +444,11 @@ int ConnectionFT601::BeginDataReading(char *buffer, uint32_t length, int ep)
FT_STATUS ftStatus = FT_OK;
ftStatus = FT_ReadPipe(mFTHandle, streamRdEp, (unsigned char*)buffer, length, &ulActual, &contexts[i].inOvLap);
if (ftStatus != FT_IO_PENDING)
+ {
+ lime::error("ERROR BEGIN DATA READING %d", ft... |
bt: fix OS abstraction layer for correct critical section API usage | @@ -254,13 +254,21 @@ bool IRAM_ATTR btdm_queue_generic_deregister(btdm_queue_item_t *queue)
static void IRAM_ATTR interrupt_disable(void)
{
+ if (xPortInIsrContext()) {
+ portENTER_CRITICAL_ISR(&global_int_mux);
+ } else {
portENTER_CRITICAL(&global_int_mux);
}
+}
static void IRAM_ATTR interrupt_restore(void)
{
+ if (... |
nimble/ll: Rename ble_ll_conn_tx_data_pdu
This sends all PDUs, not only data PDUs. | @@ -787,7 +787,7 @@ ble_ll_conn_adjust_pyld_len(struct ble_ll_conn_sm *connsm, uint16_t pyld_len)
}
static int
-ble_ll_conn_tx_data_pdu(struct ble_ll_conn_sm *connsm)
+ble_ll_conn_tx_pdu(struct ble_ll_conn_sm *connsm)
{
int rc;
uint8_t md;
@@ -1221,7 +1221,7 @@ ble_ll_conn_event_start_cb(struct ble_ll_sched_item *sch)
... |
Test: Add support for old versions of Google Test | @@ -38,8 +38,12 @@ if (ENABLE_TESTING)
add_subdirectory (${googletest_SOURCE_DIR} ${googletest_BINARY_DIR})
+ # Old versions of Google Test do not include Google Mock
+ if (TARGET gmock)
set_property (TARGET gmock PROPERTY COMPILE_FLAGS "-Wno-undef -Wno-missing-field-initializers")
set_property (TARGET gmock_main PROPE... |
Set copyright to 2020 | @@ -23,7 +23,7 @@ subprocess.call('doxygen doxyfile.doxy', shell=True)
# -- Project information -----------------------------------------------------
project = 'ESP-AT Lib'
-copyright = '2019, Tilen MAJERLE'
+copyright = '2020, Tilen MAJERLE'
author = 'Tilen MAJERLE'
# The full version, including alpha/beta/rc tags
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.