message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
DEV improve enable/disable DDF handling | @@ -163,11 +163,6 @@ void DEV_InitStateHandler(Device *device, const Event &event)
{
DevicePrivate *d = device->d;
- if (event.what() != RAttrLastSeen)
- {
- DBG_Printf(DBG_INFO, "DEV Init event %s/0x%016llX/%s\n", event.resource(), event.deviceKey(), event.what());
- }
-
if (event.what() == REventStateEnter)
{
d->zdpR... |
link-server-hook: serve static app files from clay
Any requests that aren't explicitly defined endpoints try to load
content from clay instead, but only for html, css and js files.
Depends on | %- parse-request-line
url.request.inbound-request
=* req-head header-list.request.inbound-request
- =- ::TODO =; [cards=(list card) =simple-payload:http]
+ =- ::TODO =;
%+ weld cards
(give-simple-payload:app eyre-id simple-payload)
^- [cards=(list card) =simple-payload:http]
++ handle-post
|= [request-headers=header-li... |
Ignore %present commands that wouldn't actually change anything. | ::
|= {who/ship nos/(set naem) dif/diff-status}
^+ +>
- %- ta-deltas
- %+ murn ~(tap in nos)
- |= n/naem
- ^- (unit delta)
- ?. (~(has by stories) n) ~
- :: only have presence if you have write permission.
- ?. (~(so-admire so n ~ (~(got by stories) n)) who)
- ~
- `[%story n %status [our.bol n] who dif]
+ =+ nol=~(tap ... |
HW: Adding check for git repository to hardware/Makefile | @@ -81,6 +81,11 @@ check_donut_settings:
echo "Please source donut_settings before calling make!"; \
exit 1; \
fi
+ @cd $(DONUT_HARDWARE_ROOT); if [ -z `git describe HEAD` ]; then \
+ echo "DONUT_HARDWARE_ROOT ($(DONUT_HARDWARE_ROOT)) does not belong to a git repository."; \
+ echo "Please check out the SNAP framework ... |
Log block height for balance changes | @@ -99,7 +99,7 @@ namespace MiningCore.Payments.PayoutSchemes
if (amount > 0)
{
- logger.Info(() => $"Adding {payoutHandler.FormatAmount(amount)} to balance of {address} for {FormatUtil.FormatQuantity(shares[address])} ({shares[address]}) shares");
+ logger.Info(() => $"Adding {payoutHandler.FormatAmount(amount)} to ba... |
Looking for a ruby 2.6 that travis supports | @@ -12,7 +12,8 @@ rvm:
- 2.3.8
- 2.4.9
- 2.5.7
- - 2.6.4
+ - 2.6.3
+ - 2.6.5
- 2.7.0
gemfile:
@@ -23,7 +24,7 @@ gemfile:
matrix:
fast_finish: true
allow_failures:
- - rvm: ruby-head
+ - rvm: 2.6.5 # travis doesn't have this version on some macOSs
exclude:
- gemfile: gemfiles/no_rails.gemfile
|
vnet: set frame overhead at interface registration
Type: fix
Fixes:
In vnet_eth_register_interface(), max frame size was being used where
frame overhead was intended. | @@ -384,7 +384,7 @@ vnet_eth_register_interface (vnet_main_t *vnm,
hi->min_frame_size = ETHERNET_MIN_PACKET_BYTES;
hi->frame_overhead =
r->frame_overhead ?
- r->max_frame_size :
+ r->frame_overhead :
sizeof (ethernet_header_t) + 2 * sizeof (ethernet_vlan_header_t);
hi->max_frame_size = r->max_frame_size ?
r->max_frame_... |
error: add background style
If you've set an image background, it can make it hard to read 404s or
error messages. This adds the default bg color. | @@ -12,7 +12,7 @@ class ErrorComponent extends Component<ErrorProps> {
render () {
const { code, error, history, description } = this.props;
return (
- <Col alignItems="center" justifyContent="center" height="100%" p={4}>
+ <Col alignItems="center" justifyContent="center" height="100%" p="4" backgroundColor="white">
<B... |
ansi: Implement strncat() | @@ -38,8 +38,16 @@ char *strcat(char *__restrict dest, const char *__restrict src) {
return dest;
}
char *strncat(char *__restrict dest, const char *__restrict src, size_t max_size) {
- __ensure(!"Not implemented");
- __builtin_unreachable();
+ auto dest_bytes = static_cast<char *>(dest);
+ auto src_bytes = static_cast... |
pi-blaster: Uprev the recipe
This updates the recipe to the head of the master branch. Upstream
shifted the license section in the README file so this patch changes
LIC_FILES_CHKSUM accordingly. | @@ -2,7 +2,7 @@ DESCRIPTION = "This project enables PWM on the GPIO pins you request of a Raspbe
HOMEPAGE = "https://github.com/sarfata/pi-blaster/"
SECTION = "devel/libs"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://README.md;beginline=268;endline=292;md5=86d10e4bcf4b4014d306dde7c1d2a80d"
+LIC_FILES_CHKSUM = "file://RE... |
build sionlib with fPIC | @@ -71,7 +71,7 @@ Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
Version: 1.7.1
Release: 1
License: BSD
-Group: %{PROJ_NAME}/perf-tools
+Group: %{PROJ_NAME}/io-tools
URL: http://www.fz-juelich.de/ias/jsc/EN/Expertise/Support/Software/SIONlib/_node.html
Source0: http://apps.fz-juelich.de/jsc/sionlib/downlo... |
xr871:add print float for libc nano | @@ -95,8 +95,7 @@ GLOBAL_CFLAGS += -D__PRJ_CONFIG_IMG_COMPRESS
endif
GLOBAL_LDFLAGS += -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp
-GLOBAL_LDFLAGS += -Wl,--gc-sections
-#--specs=nano.specs
+GLOBAL_LDFLAGS += -Wl,--gc-sections --specs=nano.specs -u _printf_float
GLOBAL_LDFLAGS += -Wl,--wrap,main
GLOBAL_... |
ci update action | @@ -5,9 +5,20 @@ on:
jobs:
update-formatting:
+ continue-on-error: true
if: github.event.issue.pull_request && github.event.issue.user.login == github.event.pull_request.user.login
runs-on: ubuntu-latest
steps:
+ - uses: khan/pull-request-comment-trigger@bb03972cc9f423111f3b5a23fcc9fd32741acabb
+ id: check-comment
+ wi... |
hpet: dependencies to domain | build library {
target = "hpet_module",
cFiles = ["hpet.c" ],
- addLibraries = libDeps["int_route_client"],
flounderDefs = [ "hpet" ],
mackerelDevices = ["hpet"],
architectures = [ "x86_64" ]
target = "hpet",
cFiles = [ "main.c"],
addLinkFlags = ["-T" ++ Config.source_dir ++ "/lib/driverkit/bfdrivers.ld" ],
- addLibrar... |
Added guarding #ifndef/#define to avoid duplicate include of crypto/types.h
Fixes
CLA: The author has the permission to grant the OpenSSL Team the right to use this change. | /* When removal is simulated, we still need the type internally */
+#ifndef OSSL_CRYPTO_TYPES_H
+# define OSSL_CRYPTO_TYPES_H
+# pragma once
+
# ifdef OPENSSL_NO_DEPRECATED_3_0
typedef struct rsa_st RSA;
typedef struct rsa_meth_st RSA_METHOD;
@@ -21,3 +25,5 @@ typedef struct ec_key_method_st EC_KEY_METHOD;
# ifndef OPE... |
Work CI-CD
Remove invalid option forf KALUGA preset.
***NO_CI*** | "NF_BUILD_RTM": "OFF",
"NF_FEATURE_DEBUGGER": "ON",
"NF_FEATURE_RTC": "ON",
- "API_System.IO.FileSystem": "ON",
"API_nanoFramework.Graphics": "ON",
"GRAPHICS_DISPLAY": "ILI9341_240x320_SPI.cpp",
"TOUCHPANEL_DEVICE": "XPT2046.cpp",
|
Add missing linefeed. | @@ -82,6 +82,7 @@ storageReadPosixOpen(THIS_VOID)
else
THROW_SYS_ERROR_FMT(FileOpenError, STORAGE_ERROR_READ_OPEN, strZ(this->interface.name)); // {vm_covered}
}
+
// On success set free callback to ensure the file descriptor is freed
if (this->fd != -1)
{
|
minor change on debug log | #include "tools.h"
+//#define MAP_DEBUG
+
+
// we don't want to share them
extern vu16 VBlankProcess;
@@ -92,7 +95,9 @@ static void updateMap(Map* map, s16 xt, s16 yt)
// no update --> exit
if ((deltaX == 0) && (deltaY == 0)) return;
-// KLog_S3("updateMap map=", map->plane, " deltaX=", deltaX, " deltaY=", deltaY);
+#i... |
iommu: fix possible null-pointer deref | @@ -249,10 +249,20 @@ struct vtd_domain *vtd_domains_get_by_cap(struct capref rootpt)
struct vnode_identity id;
err = invoke_vnode_identify(rootpt, &id);
if (err_is_fail(err)) {
+ INTEL_VTD_DEBUG_DOMAINS("lookup by cap failed. %s\n",
+ err_getstring(err));
+
return NULL;
}
+ INTEL_VTD_DEBUG_DOMAINS("lookup by cap: 0x%"... |
Increase the size of the attribute value buffer to 1MB for large media-col-database values. | @@ -1183,7 +1183,7 @@ do_test(_ipp_file_t *f, /* I - IPP data file */
char temp[1024]; /* Temporary string */
cups_file_t *reqfile; /* File to send */
ssize_t bytes; /* Bytes read/written */
- char buffer[131072]; /* Copy buffer */
+ char buffer[1024 * 1024]; /* Copy buffer */
size_t widths[200]; /* Width of columns */... |
Fix for error check | @@ -2743,6 +2743,8 @@ static ACVP_RESULT acvp_get_result_test_session(ACVP_CTX *ctx, char *session_url
goto end;
}
strcmp_s("fail", 4, status, &diff);
+ if (diff)
+ strcmp_s("error", 5, status, &diff);
if (!diff) {
const char *vs_url = json_object_get_string(current, "vectorSetUrl");
if (ctx->debug == ACVP_LOG_LVL_VERB... |
py/reader: Allow MICROPY_VFS_POSIX to work with MICROPY_READER_POSIX. | @@ -124,6 +124,8 @@ void mp_reader_new_file_from_fd(mp_reader_t *reader, int fd, bool close_fd) {
reader->close = mp_reader_posix_close;
}
+#if !MICROPY_VFS_POSIX
+// If MICROPY_VFS_POSIX is defined then this function is provided by the VFS layer
void mp_reader_new_file(mp_reader_t *reader, const char *filename) {
int ... |
Copy dlls into fuzz directory
This should fix the recent AppVeyor failures.
[extended tests] | @@ -238,6 +238,7 @@ libclean:
"$(PERL)" -e "map { m/(.*)\.dll$$/; unlink glob """$$1.*"""; } @ARGV" $(SHLIBS)
"$(PERL)" -e "map { m/(.*)\.dll$$/; unlink glob """apps/$$1.*"""; } @ARGV" $(SHLIBS)
"$(PERL)" -e "map { m/(.*)\.dll$$/; unlink glob """test/$$1.*"""; } @ARGV" $(SHLIBS)
+ "$(PERL)" -e "map { m/(.*)\.dll$$/; un... |
[misc] fix db parameter | hash: 789e8daf7a7290d7b3b70ee50a594ee9681654f523e8dd152f7d33869b187472
-updated: 2018-10-22T21:42:44.6924753+09:00
+updated: 2018-10-23T15:17:28.9171821+09:00
imports:
- name: github.com/aergoio/aergo-actor
version: b33acec1163b419b28c6a18e5e3f55f336fa7327
@@ -11,7 +11,7 @@ imports:
- mailbox
- router
- name: github.co... |
Do not send ACK with ack_delay == 0 when credit is expanded | @@ -2884,7 +2884,6 @@ static ngtcp2_ssize conn_write_pkt(ngtcp2_conn *conn, ngtcp2_pkt_info *pi,
int ppe_pending = (conn->flags & NGTCP2_CONN_FLAG_PPE_PENDING) != 0;
size_t min_pktlen = conn_min_short_pktlen(conn);
int padded = 0;
- int credit_expanded = 0;
ngtcp2_cc_pkt cc_pkt;
uint64_t crypto_offset;
uint64_t stream_... |
Add parameter to register function in node loader trampoline implementation. | @@ -21,15 +21,51 @@ napi_value node_loader_trampoline_register(napi_env env, napi_callback_info info
{
napi_status status;
- napi_value world;
+ const size_t args_size = 1;
+ size_t argc = args_size;
- status = napi_create_string_utf8(env, "world", 5, &world);
+ napi_value args[args_size];
+ napi_valuetype valuetype[ar... |
flag to create oversampled trajectory | -# compare customAngle to default angle
+tests/test-traj-over: traj scale nrmse
+ set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
+ $(TOOLDIR)/traj -x128 -y71 -r traja.ra ;\
+ $(TOOLDIR)/traj -x64 -y71 -o2. -r trajb.ra ;\
+ $(TOOLDIR)/scale 0.5 traja.ra traja2.ra ;\
+ $(TOOLDIR)/nrmse -t 0.0000001 traja2.ra trajb.ra ;\... |
Make range variadic. | (defn range
"Create an array of values [0, n)."
- [n]
+ [& args]
+ (case (length args)
+ 1 (do
+ (def [n] args)
(def arr (array.new n))
(loop [i :range [0 n]] (put arr i i))
arr)
+ 2 (do
+ (def [n m] args)
+ (def arr (array.new n))
+ (loop [i :range [n m]] (put arr (- i n) i))
+ arr)
+ (error "expected 1 to 2 arguments... |
Update yfm for ya make to 2.12.4 | @@ -8,9 +8,9 @@ ENDIF()
DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
YFM_TOOL
- sbr:1388699902 FOR WIN32
- sbr:1388699770 FOR DARWIN
- sbr:1388699577 FOR LINUX
+ sbr:1392976057 FOR WIN32
+ sbr:1392975769 FOR DARWIN
+ sbr:1392975506 FOR LINUX
)
END()
|
jenkinsfile.release: do not abort if cp command for release-logs fails | @@ -745,7 +745,7 @@ def buildRelease(stageName, image, packageRevision='1',
url: 'https://github.com/ElektraInitiative/ftp.git'
}
dir('prev-release-logs') {
- sh "cp -R ../ftp/release-logs/${PREVIOUS_RELEASE_VERSION}/${stageName}/* ./"
+ sh "cp -R ../ftp/release-logs/${PREVIOUS_RELEASE_VERSION}/${stageName}/* ./ || /bi... |
bfd: always start timers with non-zero tick counts
Otherwise the tw_timer_template code ASSERTs...
Type: fix | @@ -332,6 +332,7 @@ bfd_set_timer (bfd_main_t * bm, bfd_session_t * bs, u64 now,
"wheel_time_ticks %u", bs->event_time_nsec,
bs->event_time_nsec - now,
(bs->event_time_nsec - now) * SEC_PER_NSEC, wheel_time_ticks);
+ wheel_time_ticks = wheel_time_ticks ? wheel_time_ticks : 1;
bfd_lock (bm);
if (bs->tw_id)
{
|
mmapstorage: align mmap footer properly | @@ -307,7 +307,8 @@ static void calculateDataSize (DestType destType, MmapHeader * mmapHeader, KeySe
if (destType == TYPE_MMAP)
{
- allocSize += SIZEOF_MMAPHEADER + SIZEOF_MMAPFOOTER;
+ size_t padding = sizeof (uint64_t) - (allocSize % sizeof (uint64_t)); // alignment for MMAP Footer at end of mapping
+ allocSize += SI... |
Add multicast_listener to config template | @@ -691,6 +691,9 @@ static int core_config_template(struct re_printf *pf, const struct config *cfg)
"#dns_fallback\t\t8.8.8.8:53\n"
"#net_interface\t\t%H\n"
"\n"
+ "# multicasting - last octet should be even"
+ "#multicast_listener\t\t224.0.2.22"
+ "\n"
"# Play tones\n"
"#file_ausrc\t\taufile\n"
"#file_srate\t\t16000\n... |
archives active order in +add-order | :: XX or re-use order-id?
=? fal.hit ?=(^ rod) [u.rod fal.hit]
:: XX check registration, defer
- new-order:effect(pen `(sy dom))
+ new-order:effect(rod ~, pen `(sy dom))
::
++ test
=, tester:tester
|
default to mandatory offload in check_smoke | @@ -27,6 +27,9 @@ path=$(pwd)
make clean
cleanup
+export OMP_TARGET_OFFLOAD=${OMP_TARGET_OFFLOAD:-MANDATORY}
+echo OMP_TARGET_OFFLOAD=$OMP_TARGET_OFFLOAD
+
echo ""
echo -e "$ORG"RUNNING ALL TESTS IN: $path"$BLK"
echo ""
|
vere: create $pier/.bin/pace automatically | @@ -1031,6 +1031,52 @@ _king_make_pace(c3_c* pac_c)
return 0;
}
+static c3_i
+_king_write_raw(c3_i fid_i, c3_y* buf_y, size_t len_i);
+
+/* _king_init_pace(): save pace file if not present
+*/
+static c3_i
+_king_init_pace(c3_c* pac_c)
+{
+ c3_c* bin_c;
+ c3_i fid_i, ret_i = asprintf(&bin_c, "%s/.bin/pace", u3_Host.dir... |
filter_modify: use new regex_find() API and fix group matching | @@ -403,7 +403,7 @@ static inline bool helper_msgpack_object_matches_regex(msgpack_object * obj,
return false;
}
- return (flb_regex_do(regex, key, len, &result) == 0);
+ return flb_regex_match(regex, (unsigned char *) key, len) > 0;
}
static inline bool kv_key_matches_regex(msgpack_object_kv * kv,
|
rand: declare get_hardware_random_value() before use.
Introduced by
Fixes | # if defined(OPENSSL_SYS_TANDEM) && defined(_TNS_X_TARGET)
# include <builtin.h> /* _rdrand64 */
# include <string.h> /* memcpy */
-static size_t get_hardware_random_value(unsigned char *buf, size_t len);
# else
size_t OPENSSL_ia32_rdseed_bytes(unsigned char *buf, size_t len);
size_t OPENSSL_ia32_rdrand_bytes(unsigned ... |
Fix location of visit_dist_data.tar.gz | @@ -419,16 +419,16 @@ endif()
# Add install command for contents of "data"
#-----------------------------------------------------------------------------
-IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/visit_dist_data.tar.gz)
+IF(EXISTS ${VISIT_SOURCE_DIR}/../data/visit_dist_data.tar.gz)
IF(VISIT_USE_7ZIP AND NOT "${SEVEN_ZIP_E... |
BugID:23823178:optimize some code and annotation | @@ -46,7 +46,6 @@ void mb_main(void)
* Initiate write single registers request.
* data_resp: respond from the remote device. If the write operation succeeds,
* it's equal to data_write.
- * written.
*/
status = mbmaster_write_single_register(mb_handler, DEVICE1_SLAVE_ADDR, DEVICE1_REG1_ADDR,
data_write, NULL, &data_res... |
[config_tool] Duplicate error for vUART connection
improve the translateError function by adding a condition: if there are errors describing the same error and same paths, remove the repeat one. | @@ -415,6 +415,7 @@ export default {
if (errorType === 'semantic') {
formErrors[vmid].push(error)
}
+ formErrors[vmid] = _.uniq(formErrors[vmid])
})
}
|
Allow to set an initial CXXFLAGS value from the command line of application's Makefile | @@ -257,7 +257,7 @@ ifneq ($(MODULES_IMACROS),)
CFLAGS += ${foreach d, $(MODULES_IMACROS), -imacros $(d)}
endif
-CXXFLAGS = $(subst -std=c99,-std=gnu++11,$(CFLAGS))
+CXXFLAGS += $(subst -std=c99,-std=gnu++11,$(CFLAGS))
CXXFLAGS += -fpermissive -fno-exceptions -fno-unwind-tables
CXXFLAGS += -fno-threadsafe-statics -fno-... |
Completions: Add suggestions for `with-recommends` | @@ -387,3 +387,7 @@ __fish_kdb_add_option "not __fish_kdb_subcommand; or __fish_kdb_subcommand_suppo
# --without-elektra -E
__fish_kdb_add_option '__fish_kdb_subcommand_includes export' 'without-elektra' 'E' 'Omit the `/elektra` directory'
+
+# --with-recommends -W
+set -l completion_function '__fish_kdb_subcommand_inc... |
sysdeps/managarm: fix return value of fcntl(F_SETFL) | @@ -552,6 +552,7 @@ int sys_fcntl(int fd, int request, va_list args, int *result) {
return EINVAL;
}
__ensure(resp.error() == managarm::fs::Errors::SUCCESS);
+ *result = 0;
return 0;
}else if(request == F_SETLK) {
mlibc::infoLogger() << "\e[31mmlibc: F_SETLK\e[39m" << frg::endlog;
|
Count free servers in pgbouncer style | @@ -806,8 +806,9 @@ od_console_show_lists_cb(od_route_t *route, void **argv)
od_route_lock(route);
int *used_servers = argv[0];
+ int *free_servers = argv[1];
(*used_servers) += route->server_pool.count_active;
- (*used_servers) += route->server_pool.count_idle;
+ (*free_servers) += route->server_pool.count_idle;
od_ro... |
acrn-config: keep HV_RAM_START 2M memory align
Refine HV_RAM_START to keep 2M memory align for new board config.
Acked-by: Victor Sun | @@ -28,6 +28,8 @@ VM_NUM_MAP_TOTAL_HV_RAM_SIZE = {
7:0x10E00000,
}
+MEM_ALIGN = 2 * board_cfg_lib.SIZE_M
+
def find_avl_memory(ram_range, hpa_size, hv_start_offset):
"""
@@ -141,6 +143,7 @@ def generate_file(config):
total_size = reserved_ram + hv_ram_size
avl_start_addr = find_avl_memory(ram_range, str(total_size), hv... |
Update documentation of _dictReset | @@ -93,8 +93,7 @@ uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) {
/* ----------------------------- API implementation ------------------------- */
-/* Reset a hash table already initialized with ht_init().
- * NOTE: This function should only be called by ht_destroy(). */
+/* Reset hash table param... |
Another try to fix scan_build warning | @@ -3355,11 +3355,12 @@ send_properties_to_pm(neat_ctx *ctx, neat_flow *flow)
json_object_set(properties, "port", port);
json_decref(port);
+ if ((domains = json_array()) == NULL)
+ goto end;
+
char *tmp = strdup(flow->name);
char *ptr = NULL;
- if ((domains = json_array()) == NULL)
- goto end;
char *address_name = str... |
MARS: Ocean layer correct mapping for mars 'levelist' | @@ -82,9 +82,10 @@ if (extraDim) {
}
}
-# See ECC-854, ECC-1435, ECC-1451
+# See ECC-854, ECC-1435, ECC-1451, ECC-1462
if( (typeOfFirstFixedSurface == 151 && typeOfSecondFixedSurface == 151) ||
(typeOfFirstFixedSurface == 152 && typeOfSecondFixedSurface == 152) ||
+ (typeOfFirstFixedSurface == 168 && typeOfSecondFixedS... |
current draw: display as amps. | @@ -728,7 +728,7 @@ static void osd_display_regular() {
case OSD_CURRENT_DRAW:
if (osd_decode(*osd_current, ACTIVE)) {
- fast_fprint(print_buffer, 5, state.ibat_filtered, 0);
+ fast_fprint(print_buffer, 5, state.ibat_filtered / 1000.0f, 2);
print_buffer[4] = 154; // AMP icon
osd_print_data(print_buffer, 5, osd_decode(*... |
Disable line search by default for YetiRank and YetiRankPairwise loss functions | @@ -499,11 +499,17 @@ void NCatboostOptions::TCatBoostOptions::Validate() const {
ObliviousTreeOptions->LeavesEstimationBacktrackingType != ELeavesEstimationStepBacktracking::Armijo,
"Backtracking type Armijo is supported only on GPU");
CB_ENSURE(
- LossFunctionDescription->GetLossFunction() != ELossFunction::PythonUse... |
Version bumped to 0.4.3 | @@ -3,7 +3,7 @@ project (vcf-validator CXX C)
set (vcf-validator_VERSION_MAJOR 0)
set (vcf-validator_VERSION_MINOR 4)
-set (vcf-validator_VERSION_PATCH 2)
+set (vcf-validator_VERSION_PATCH 3)
# no unknown pragmas: ODB compiler uses some pragmas that the regular compiler doesn't need
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FL... |
Default config comments updated | #define ESP_IPD_MAX_BUFF_SIZE 1460
#endif
-/**
- * \brief Buffer size for received data waiting to be processed
- * \note When server mode is active and a lot of connections are in queue
- * this should be set high otherwise your buffer may overflow
- *
- * \note Buffer size also depends on TX user driver if it uses DM... |
Fix `pyto_ui.View.gesture_recognizers` | @@ -2561,7 +2561,7 @@ class View:
else:
_recognizers = []
for recognizer in recognizers:
- _recognizer = self.__class__()
+ _recognizer = GestureRecognizer(GESTURE_TYPE_TAP)
_recognizer.__py_gesture__ = recognizer
_recognizers.append(_recognizer)
return _recognizers
|
[Fix] get minimal AT ESP32 version
Wrong Major element setting at ESP32 min version | @@ -539,7 +539,7 @@ lwesp_get_min_at_fw_version(lwesp_sw_version_t* const version) {
#endif /* LWESP_CFG_ESP8266 */
#if LWESP_CFG_ESP32
} else if (esp.m.device == LWESP_DEVICE_ESP32) {
- lwesp_set_fw_version(version, LWESP_MIN_AT_VERSION_MAJOR_ESP8266, LWESP_MIN_AT_VERSION_MINOR_ESP32, LWESP_MIN_AT_VERSION_PATCH_ESP32)... |
added information if non-PBKDF2 EAPOL messages/PMKIDs detected | @@ -248,6 +248,7 @@ static long int eapolm32e2count;
static long int eapolm32e3count;
static long int eapolm34e3count;
static long int eapolm34e4count;
+static long int akmpmkideapolignoredcount;
static long int eapmd5writtencount;
static long int eapmd5johnwrittencount;
static long int eapleapwrittencount;
@@ -516,6 +... |
Support the partial write case in payload file output. Change payload names back to rip:rport_lip:lport so no change to the CLI is required. | @@ -2599,13 +2599,13 @@ doPayload()
case NETTX:
case TLSTX:
snprintf(path, PATH_MAX, "%s/%d_%s:%s_%s:%s.out",
- ctlPayDir(g_ctl), g_proc.pid, lip, lport, rip, rport);
+ ctlPayDir(g_ctl), g_proc.pid, rip, rport, lip, lport);
break;
case NETRX:
case TLSRX:
snprintf(path, PATH_MAX, "%s/%d_%s:%s_%s:%s.in",
- ctlPayDir(g_ct... |
INI parser: fix space handling | @@ -144,6 +144,11 @@ int ini_parse_file (FILE * file, const struct IniConfig * config, void * user)
continue;
}
start = lskip (line);
+ if (*start == '\0')
+ {
+ if (!config->commentHandler (user, "") && !error) error = lineno;
+ continue;
+ }
if (isContinuation (line, config) && config->supportMultiline && *prev_name)... |
PROV: Ensure the AlgorithmIdentifier registers in DSA signature impl
When setting up the hash function for DSA signature, the encoded
AlgorithmIdentifier for the DSA+hash combination is queried, but not
stored, which leads to problems when signing ASN.1 items in libcrypto. | @@ -157,6 +157,8 @@ static int dsa_setup_md(PROV_DSA_CTX *ctx,
ctx->md = md;
OPENSSL_strlcpy(ctx->mdname, mdname, sizeof(ctx->mdname));
+ memcpy(ctx->aid, algorithmidentifier, algorithmidentifier_len);
+ ctx->aid_len = algorithmidentifier_len;
}
return 1;
}
|
[ARB] Fixed a bug introduced by last commit (forgot to alias) | @@ -2403,6 +2403,14 @@ void parseToken(sCurStatus* curStatusPtr, int vertex, char **error_msg, struct s
if (!strcmp(tok, "half")) {
// Special case for the 'half' keyword
pushArray((sArray*)curStatusPtr->curValue.newVar.var, strdup("gl4es_half"));
+
+ // Hopefully this doesn't make a free-after-free in case of error (t... |
libcupsfilters: Removed debug helper lines in pwgtoraster() filter function | @@ -1184,9 +1184,6 @@ static bool outPage(pwgtoraster_doc_t *doc,
doc->outheader.PageSize[0] = doc->inheader.PageSize[0];
doc->outheader.PageSize[1] = doc->inheader.PageSize[1];
- doc->outheader.HWResolution[0] = doc->inheader.HWResolution[0] * 2;
- doc->outheader.HWResolution[1] = doc->inheader.HWResolution[1] * 2;
-
... |
Added more changes. | sourceannounce
==
::
- =/ actions=(list move)
- :~ [ost.bol %connect / [~ /'~chat'] %chat]
+ :_ this
+ :* [ost.bol %connect / [~ /'~chat'] %chat]
launcha
peer-inbox
(hall-peer circlespat circlespat)
(hall-source [our.bol %i])
+ hall-actions
==
- :_ this
- (weld actions hall-actions)
::
:_ this(+<+ u.old)
[launcha]~
|= ... |
apps/btshell: Add more printouts to extended advertising event | @@ -907,9 +907,15 @@ btshell_decode_adv_data(uint8_t *adv_data, uint8_t adv_data_len)
static void
btshell_decode_event_type(struct ble_gap_ext_disc_desc *desc)
{
+ uint8_t directed = 0;
+
if (desc->props & BLE_HCI_ADV_LEGACY_MASK) {
console_printf("Legacy PDU type %d", desc->legacy_event_type);
- goto adv_data;
+ if (d... |
Remove testing for cxx11 and cxx14 from conan package id | @@ -91,7 +91,7 @@ class CelixConan(ConanFile):
"enable_undefined_sanitizer": False,
"enable_thread_sanitizer": False,
"enable_testing_dependency_manager_for_cxx11": False,
- "eenable_testing_for_cxx14": False,
+ "enable_testing_for_cxx14": False,
"celix_add_openssl_dep": False,
"build_all": False,
"build_deployment_adm... |
gpio: update gpio sleep workaround config name | @@ -562,7 +562,7 @@ esp_err_t gpio_wakeup_enable(gpio_num_t gpio_num, gpio_int_type_t intr_type)
#endif
portENTER_CRITICAL(&gpio_context.gpio_spinlock);
gpio_hal_wakeup_enable(gpio_context.gpio_hal, gpio_num, intr_type);
-#if SOC_GPIO_SUPPORT_SLP_SWITCH && CONFIG_ESP32C3_LIGHTSLEEP_GPIO_RESET_WORKAROUND
+#if SOC_GPIO_S... |
rsa: update command line app to use EVP calls | * https://www.openssl.org/source/license.html
*/
-/* We need to use the deprecated RSA low level calls */
-#define OPENSSL_SUPPRESS_DEPRECATED
-
#include <openssl/opensslconf.h>
#include <stdio.h>
@@ -79,6 +76,8 @@ int rsa_main(int argc, char **argv)
ENGINE *e = NULL;
BIO *out = NULL;
RSA *rsa = NULL;
+ EVP_PKEY *pkey ... |
sse2: fix set but not used variable in _mm_cvtps_epi32 | @@ -2694,17 +2694,20 @@ simde_mm_cvtps_epi32 (simde__m128 a) {
return _mm_cvtps_epi32(a);
#else
simde__m128i_private r_;
- simde__m128_private a_ = simde__m128_to_private(a);
+ simde__m128_private a_;
#if defined(SIMDE_ARM_NEON_A32V8_NATIVE) && defined(SIMDE_FAST_CONVERSION_RANGE) && defined(SIMDE_FAST_ROUND_TIES) && !... |
Tried to compensate 6 button read to avoid the UP+DOWN issue state (emulator or unofficial controller) | @@ -649,11 +649,13 @@ static u16 read6Btn(u16 port)
v1 = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 d u - 1 c b r l d u */
val = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 d u - 1 c b r l d u */
v2 = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 0 0 - 1 c b m x y z */
- val = TH_CONTROL_PHASE(pb); /* - 0 s a - - - - - 1 c b r l d u */
+ va... |
Include client credential keys in devModeKeyProvisioning | /* Client credential includes. */
#include "aws_clientcredential.h"
+#include "aws_clientcredential_keys.h"
#include "aws_default_root_certificates.h"
/* Key provisioning include. */
|
publish: fix notebook deletion card flushing bug | =/ note-name i.t.t.t.t.pax
=/ book (~(get by books.sty) book-name)
?~ book
- [~ sty]
+ [cad sty]
=. notes.u.book (~(del by notes.u.book) note-name)
=/ delta=notebook-delta [%del-note our.bol book-name note-name]
=^ cards sty (handle-notebook-delta delta sty)
=/ note-name i.t.t.t.t.pax
=/ comment-date (slaw %da i.t.t.t.... |
CMakeLists: bump btc-only firmware patch version | @@ -87,7 +87,7 @@ endif()
# Versions MUST contain three parts and start with lowercase 'v'.
# Example 'v1.0.0'. They MUST not contain a pre-release label such as '-beta'.
set(FIRMWARE_VERSION "v4.1.0")
-set(FIRMWARE_BTC_ONLY_VERSION "v4.1.0")
+set(FIRMWARE_BTC_ONLY_VERSION "v4.1.1")
set(BOOTLOADER_VERSION "v1.0.1")
fin... |
esp_timer: fix ESP_TIMER_ISR dispatch method due to off by one error | @@ -959,7 +959,7 @@ static void timer_isr_callback(void* arg)
int64_t now = esp_timer_get_time();
int64_t dt = now - old_time[num_timer];
old_time[num_timer] = now;
- if (num_timer == 1) {
+ if (num_timer == 0) {
esp_rom_printf("(%lld): \t\t\t\t timer ISR, dt: %lld us\n", now, dt);
assert(xPortInIsrContext());
} else {... |
Fixes Update reference to issues
Thanks Mats Dufberg | @@ -97,7 +97,7 @@ contrib/build-solaris.sh
KNOWN ISSUES
A complete list of currently known open issues can be found here:
-http://www.nlnetlabs.nl/projects/ldns/bugs
+https://github.com/NLnetLabs/ldns/issues
* pyldns
Compiling pyldns produces many ``unused parameter'' warnings. Those are
|
Don't trigger buttonevents for Xiaomi WXKG01LM in hourly report
Also don't fire state.lastupdated event, since this might cause rules
for Xiaomi motion and contact sensors to fire.
Issue | @@ -8744,10 +8744,13 @@ void DeRestPluginPrivate::handleZclAttributeReportIndicationXiaomiSpecial(const
{
// don't update Mija devices
// e.g. lumi.sensor_motion always reports 1
+ if (item)
+ {
sensor.updateStateTimestamp();
- enqueueEvent(Event(RSensors, RStateLastUpdated, sensor.id()));
+ //enqueueEvent(Event(RSenso... |
Add "loaded.anchor" event for anchor widget | #define DEFAULT_PATH
static struct LCUI_Anchor {
+ int event_id;
LCUI_WidgetPrototype proto;
} self;
-void AppendToTarget( LCUI_Widget target, LCUI_Widget box )
+void AppendToTarget( LCUI_Widget w, LCUI_Widget box )
{
+ const char *attr_target;
+ LCUI_Widget target, root;
+ LCUI_WidgetEventRec ev = { 0 };
+
+ attr_targ... |
Add comment to non-obvious code guard
Ad and body lengths can only be too big on builds where size_t is bigger
than 32 bits. This checking code therefore generates always true
comparison warnings on 32 bit platforms, and thus had to be guarded. | @@ -447,6 +447,9 @@ psa_status_t mbedtls_psa_aead_set_lengths( mbedtls_psa_aead_operation_t
#if defined(MBEDTLS_PSA_BUILTIN_ALG_GCM)
if( operation->alg == PSA_ALG_GCM )
{
+ /* Lengths can only be too large for GCM if size_t is bigger than 32
+ * bits. Without the guard this code will generate warnings on 32bit
+ builds... |
release: print gradle debug and stacktrace | @@ -1096,7 +1096,7 @@ def buildAndPublishMaven() {
}
dir('src/bindings/jna') {
sh """\
-gradle -i -PreleaseVersion=${mavenReleaseVersion} \
+gradle --debug --full-stacktrace -PreleaseVersion=${mavenReleaseVersion} \
-PsonatypeUsername=${SONATYPE_USERNAME} -PsonatypePassword=${SONATYPE_PASSWORD} \
-Psigning.secretKeyRin... |
BugID:21931778:Update OTA system reboot
OTA system reboot patch from ESP8266 | @@ -41,13 +41,9 @@ int hal_reboot_bank(void)
{
printf("reboot to banker\n");
wifi_set_sleep_type(NONE_SLEEP_T);
- vPortETSIntrLock();
- krhino_sched_disable();
- delay();
- delay();
+ aos_msleep(300);
system_upgrade_init();
system_upgrade_flag_set(UPGRADE_FLAG_FINISH);
system_upgrade_reboot();
- aos_msleep(300);
return... |
grecon/optreg: remove unnecessary initialization | @@ -302,10 +302,6 @@ void opt_reg_configure(unsigned int N, const long img_dims[N], struct opt_reg_s*
long minsize[DIMS] = { [0 ... DIMS - 1] = 1 };
- minsize[0] = MIN(img_dims[0], 16);
- minsize[1] = MIN(img_dims[1], 16);
- minsize[2] = MIN(img_dims[2], 16);
-
unsigned int wflags = 0;
for (unsigned int i = 0; i < DIMS... |
Clean up opae-c events tests | @@ -65,7 +65,6 @@ class event_c_p : public ::testing::TestWithParam<std::string> {
system_ = test_system::instance();
system_->initialize();
system_->prepare_syfs(platform_);
- invalid_device_ = test_device::unknown();
ASSERT_EQ(fpgaInitialize(NULL), FPGA_OK);
ASSERT_EQ(fpgaGetProperties(nullptr, &filter_), FPGA_OK);
@... |
curve448: Use NLIMBS where appropriate to simplify the code | @@ -22,7 +22,7 @@ void gf_add_RAW(gf out, const gf a, const gf b)
{
unsigned int i;
- for (i = 0; i < 8; i++)
+ for (i = 0; i < NLIMBS; i++)
out->limb[i] = a->limb[i] + b->limb[i];
gf_weak_reduce(out);
@@ -33,8 +33,8 @@ void gf_sub_RAW(gf out, const gf a, const gf b)
uint64_t co1 = ((1ULL << 56) - 1) * 2, co2 = co1 - 2... |
invoke github_changelog_generator via docker | @@ -406,7 +406,7 @@ html:
release:
$(call announce-begin,"Run release boilerplate")
- github_changelog_generator --no-author \
+ docker run -it --rm -v $(PWD):/usr/local/src/your-app ferrarimarco/github-changelog-generator \
--max-issues $(CHANGELOG_MAX_ISSUES) \
-t $(CHANGELOG_GITHUB_TOKEN)$ \
--user swift-nav --proje... |
Don't hardcode states strings - they've changed so use the httpStateString API instead. | @@ -3746,25 +3746,6 @@ process_http(ipp3d_client_t *client) /* I - Client connection */
hostname[HTTP_MAX_HOST];
/* Hostname */
int port; /* Port number */
- static const char * const http_states[] =
- { /* Strings for logging HTTP method */
- "WAITING",
- "OPTIONS",
- "GET",
- "GET_SEND",
- "HEAD",
- "POST",
- "POST_R... |
extmod/modnxtdevices/TouchSensor: drop verify_type
Make this sensor consistent with other generic I/O classes: force port mode if needed. | @@ -84,8 +84,7 @@ typedef struct _nxtdevices_TouchSensor_obj_t {
// pybricks.nxtdevices.TouchSensor.__init__
STATIC mp_obj_t nxtdevices_TouchSensor_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args ) {
PB_PARSE_ARGS_CLASS(n_args, n_kw, args,
- PB_ARG_REQUIRED(port),
- PB_ARG_DEFAULT_T... |
Improve explanation in _preparation_next_release.md | @@ -49,7 +49,7 @@ The following section lists news about the [plugins](https://www.libelektra.org/
### opts
-- The `opts` plugin now includes deeply nested options and arguments in the help message. _(Tobias Schubert @qwepoizt)_
+- The `opts` plugin now includes deeply nested options and arguments in the generated help... |
file/close returns an integer.
If opened with popen, returns the exit code. Otherwise
returns nil. | @@ -286,12 +286,15 @@ static Janet cfun_io_fclose(int32_t argc, Janet *argv) {
#ifdef JANET_WINDOWS
#define pclose _pclose
#endif
- if (pclose(iof->file)) janet_panic("could not close file");
+ int status = pclose(iof->file);
+ iof->flags |= IO_CLOSED;
+ if (status) janet_panic("could not close file");
+ return janet_w... |
hexnumber: fix formatting | @@ -317,9 +317,8 @@ void parseConfig (KeySet * config, HexnumberData * data)
if (!data->integerTypes)
{
- static char * default_types[] = { "byte", "short", "unsigned_short",
- "long", "unsigned_long", "long_long", "unsigned_long_long",
- NULL };
+ static char * default_types[] = { "byte", "short", "unsigned_short", "l... |
Add connection close in header for cloud rest | @@ -142,6 +142,7 @@ static int call_cloud_rest(CURL_HANDLE curl_handle, const char* request, char *a
elog(DEBUG3, "in call_cloud_rest: %s", buf);
headers = curl_slist_append(headers, buf);
}
+ headers = curl_slist_append(headers, "connection:close");
curl_easy_setopt(curl_handle->curl_handle, CURLOPT_HTTPHEADER, header... |
Re-introduce ENUM validation in ecjpake.c | #if !defined(MBEDTLS_ECJPAKE_ALT)
-/* Parameter validation macros based on platform_util.h */
-#define ECJPAKE_VALIDATE_RET( cond ) \
- MBEDTLS_INTERNAL_VALIDATE_RET( cond, MBEDTLS_ERR_ECP_BAD_INPUT_DATA )
-#define ECJPAKE_VALIDATE( cond ) \
- MBEDTLS_INTERNAL_VALIDATE( cond )
-
/*
* Convert a mbedtls_ecjpake_role to i... |
[Rust] build_rust_toolchain.py can run unit tests on host machine | @@ -103,11 +103,18 @@ def setup_rust_toolchain():
if file.suffix == '.rlib':
shutil.copy(file.as_posix(), rust_target_dir.as_posix())
+
+def test_rust_programs() -> None:
+ programs_with_tests = [
+ "libfs",
]
+
+ for program_dir_name in programs_with_tests:
program_dir = _RUST_PROGRAMS_DIR / program_dir_name
run_and_c... |
synthetic: commit changes to memcached module | @@ -13,18 +13,22 @@ use backend::*;
use Packet;
-static NVALUES : u64 = 100000;
-static PCT_SET : u64 = 10; // out of 100
-// static value_size : u32 = 0;
-// static key_size : u32 = 0;
-fn set_request(key: &String, opaque: u32, buf: &mut Vec<u8>) {
+static NVALUES : u64 = 1000000;
+static PCT_SET : u64 = 2; // out of ... |
Remove unused stored value | @@ -606,7 +606,7 @@ ngtcp2_ssize ngtcp2_pkt_decode_stream_frame(ngtcp2_stream *dest,
return NGTCP2_ERR_FRAME_ENCODING;
}
- p = ngtcp2_get_uvarint(&vi, p);
+ /* p = */ ngtcp2_get_uvarint(&vi, p);
if (payloadlen - len < vi) {
return NGTCP2_ERR_FRAME_ENCODING;
}
|
Don't fast poll OSRAM, IKEA and reporting devices after a group command was send | @@ -605,7 +605,21 @@ void DeRestPluginPrivate::apsdeDataConfirm(const deCONZ::ApsDataConfirm &conf)
for (LightNode &l : nodes)
{
- if (isLightNodeInGroup(&l, groupId))
+ if (!l.isAvailable() ||
+ !l.lastRx().isValid() ||
+ l.manufacturerCode() == VENDOR_IKEA ||
+ l.manufacturerCode() == VENDOR_OSRAM ||
+ l.manufacturer... |
refactor IP address handling - part 2 | @@ -99,7 +99,7 @@ nt_linux_handle_addr(struct neat_ctx *ctx, struct nlmsghdr *nl_hdr)
//TODO: Should this function be a callback instead? Will we have multiple
//addresses handlers/types of context?
- return nt_addr_update_src_list(ctx, &src_addr, ifm->ifa_index,
+ return nt_addr_update_src_list(ctx, (struct sockaddr*)... |
Add hardware reset pin support for STM32 port | @@ -288,17 +288,22 @@ configure_uart(uint32_t baudrate) {
if (usart_ll_thread_id == NULL) {
usart_ll_thread_id = osThreadCreate(osThread(usart_ll_thread), usart_ll_mbox_id);
}
+}
#if defined(ESP_RESET_PIN)
- /* Reset device on first init */
- if (!initialized) {
+/**
+ * \brief Hardware reset callback
+ */
+static uint... |
azimuth: update state on-watch | ::
%- %- slog :_ ~
leaf+"azimuth: loading snapshot with {<(lent logs.state)>} events"
- =/ res (%*(run-logs do nas.state *^state:naive) logs.state)
- [(weld (jael-update:do (to-udiffs:do -.res)) start:do) this]
+ =^ snap-cards state
+ (%*(run-logs do nas.state *^state:naive) logs.state)
+ [(weld (jael-update:do (to-udi... |
[core] fall back to getauxval(AT_RANDOM), if avail
fall back to use getauxval(AT_RANDOM), if available, for srand() init
getauxval(AT_RANDOM) is a glibc extension | #endif
#endif
+#ifdef __has_include
+#if __has_include(<sys/auxv.h>)
+#include <sys/auxv.h> /* getauxval(AT_RANDOM) is a glibc extension */
+#ifdef AT_RANDOM
+#define HAVE_GETAUXVAL
+#endif
+#endif
+#endif
+
/* Take some reasonable steps to attempt to *seed* random number generators with
* cryptographically random data... |
update connect tooltips
add tooltips for connect in en | @@ -1974,3 +1974,25 @@ Blockly.MIXLY_ESP32_MONITOR_SHOW_STATIC='Display String Static';
Blockly.MIXLY_ESP32_SENOR_GYRO='GYPO(rad/s)';
Blockly.Msg.DATAFRAME_RAW = "Raw";
Blockly.Msg.DATAFRAME_COLUMN = "Column";
+Blockly.MIXLY_ESP32_SENSOR_LIGHT_LEVEL_TOOLTIP="Set sensor brightness level";
+Blockly.MIXLY_ESP32_SENSOR_RTC... |
Update: comments fixed | @@ -15,10 +15,10 @@ the car has width 2
//does car fit into parking lot?
G! :|:
5
-//expected: ^mul executed with args ({SELF} * (6 * 4))
+//expected: ^mul executed with args ({SELF} * (4 * 2))
G! :|:
5
-//expected: ^smaller executed with args ({SELF} * (24.0 * 10))
+//expected: ^smaller executed with args ({SELF} * (8... |
pg_amcheck: Keep trying to fix the tests.
Fix another example of non-portable option ordering in the tests.
Oversight in
Mark Dilger
Discussion: | @@ -468,7 +468,7 @@ command_fails_like(
'pg_amcheck rejects garbage startblock');
command_fails_like(
- [ @cmd, 'db1', '-s', 's5', '--endblock', '1234junk' ],
+ [ @cmd, '-s', 's5', '--endblock', '1234junk', 'db1' ],
qr/invalid end block/,
'pg_amcheck rejects garbage endblock');
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.