message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fake networking passes smoke test. | {$warp p/sock q/riff} :: file request
{$wegh $~} :: report memory
{$went p/sack q/path r/@ud s/coop} :: response confirm
- {$west p/sack q/path r/@ud s/*} :: network request
+ {$west p/sack q/path r/*} :: network request
== ::
-- ::able
::
{$thud $~} :: inbound cancel
{$wegh $~} :: report memory
{$went p/sack q/path r/... |
khan: del in %kick | ++ take
|= [tea=wire hen=duct dud=(unit goof) hin=sign]
^- [(list move) _khan-gate]
- :: XX delete dais here?
?^ dud
~|(%khan-take-dud (mean tang.u.dud))
?. ?=(%gall -.hin)
?+ -.p.hin [~ khan-gate]
?(%poke-ack %watch-ack)
?~ p.p.hin [~ khan-gate]
- =. out-dais (~(del by out-dais) hen)
%- (slog u.p.p.hin)
:_ khan-gate
[... |
build: v2.0.0 - let's rock! | @@ -2,9 +2,9 @@ cmake_minimum_required(VERSION 3.0)
project(fluent-bit)
# Fluent Bit Version
-set(FLB_VERSION_MAJOR 1)
-set(FLB_VERSION_MINOR 9)
-set(FLB_VERSION_PATCH 6)
+set(FLB_VERSION_MAJOR 2)
+set(FLB_VERSION_MINOR 0)
+set(FLB_VERSION_PATCH 0)
set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VE... |
Add info about pyocf in README
Fix README sections referencing | @@ -9,11 +9,12 @@ utility.
# In this readme:
* [Documentation](#documentation)
-* [Source Code](#source)
+* [Source Code](#source-code)
* [Deployment](#deployment)
* [Examples](#examples)
-* [Unit Tests](#unit_tests)
-* [Build Test](#build_test)
+* [Unit Tests](#unit-tests)
+* [Build Test](#build-test)
+* [Functional T... |
Fix doc/spec/rac-related-work.md typo | @@ -190,5 +190,5 @@ on its title, but primarily concerns lossy compression of volumetric data.
Robert and Nadarajan's ["New Algorithms For Random Access Text
Compression"](https://www.researchgate.net/publication/4231766_New_Algorithms_For_Random_Access_Text_Compression)
-cannot compress aribrary data, only 7-bit ASCII... |
fuzz: reverse logic for entering socketFuzzer state | @@ -627,8 +627,9 @@ void fuzz_threadsStart(honggfuzz_t* hfuzz, pthread_t* threads) {
LOG_F("Couldn't prepare sancov options");
}
- if (!hfuzz->socketFuzzer) {
- // Dont do dry run
+ if (hfuzz->socketFuzzer) {
+ /* Dont do dry run */
+ LOG_I("Entering phase - Feedback Driven Mode - for the SocketFuzzer");
hfuzz->state =... |
v2.0.39 landed | -ejdb2 (2.0.39) UNRELEASED; urgency=medium
+ejdb2 (2.0.39) testing; urgency=medium
* Added iwrc jbn_at(JBL_NODE node, const char *path, JBL_NODE *res)
* Added iwrc jbn_at2(JBL_NODE node, JBL_PTR jp, JBL_NODE *res)
@@ -10,7 +10,7 @@ ejdb2 (2.0.39) UNRELEASED; urgency=medium
* Added `ejdb_count` (ejdb2.h)
* Fixed `_jbl_c... |
common/usbc/usb_pe_ctvpd_sm.c: Format with clang-format
BRANCH=none
TEST=none | @@ -167,44 +167,36 @@ static void pe_request_run(const int port)
/* Prepare to send ACK */
/* VDM Header */
- payload[0] = VDO(
- USB_VID_GOOGLE,
- 1, /* Structured VDM */
- VDO_SVDM_VERS(1) |
- VDO_CMDT(CMDT_RSP_ACK) |
+ payload[0] = VDO(USB_VID_GOOGLE, 1, /* Structured VDM */
+ VDO_SVDM_VERS(1) | VDO_CMDT(CMDT_RSP_AC... |
High-Level API: Add separation lines after headers | # High-level API Examples
+
This folder contains an example on how to use the high-level API.
The example is built using CMake, but you can use any build system you like, as long as you setup your include directories and linked
@@ -6,6 +7,7 @@ libraries correctly. The high-level API uses the same include directory as t... |
Added lpc55s69 board_info api | * limitations under the License.
*/
-#include "virtual_fs.h"
-#include "flash_manager.h"
+#include "target_family.h"
+#include "target_board.h"
-const char *board_id = "0236";
+extern target_cfg_t target_device;
-// Override default behavior
-//
-// URL_NAME and DRIVE_NAME must be 11 characters excluding
-// the null t... |
drivers/net: Enable NETDEVICES by default
since there are many net drivers doesn't depend on phy | menuconfig NETDEVICES
bool "Network Device/PHY Support"
- default n if !ARCH_HAVE_PHY
- default y if ARCH_HAVE_PHY
+ default y
depends on NET
---help---
Network interface driver and PHY selections. This options enables
|
Initialize in_addr and in6_addr to avoid garbage output if never written
If any of the address families isn't available in UpnpGetIfInfo(), especially
IPv6, always init both structs with zero to avoid garbage output with
inet_ntop() to gIF_IPV4 and gIF_IPV6.
See
for consequences. | @@ -3478,8 +3478,8 @@ int UpnpGetIfInfo(const char *IfName)
inet_ntop(AF_INET6, &v6_addr, gIF_IPV6, sizeof(gIF_IPV6));
#elif (defined(BSD) && BSD >= 199306) || defined(__FreeBSD_kernel__)
struct ifaddrs *ifap, *ifa;
- struct in_addr v4_addr;
- struct in6_addr v6_addr;
+ struct in_addr v4_addr = { 0 };
+ struct in6_addr... |
Fix buffer bounds check off-by-one | @@ -74,11 +74,11 @@ static Glyph glyphs_mod(Glyph a, Glyph b) {
ORCA_PURE ORCA_FORCE_NO_INLINE static bool
oper_has_neighboring_bang(Glyph const* gbuf, Usz h, Usz w, Usz y, Usz x) {
Glyph const* gp = gbuf + w * y + x;
- if (x < w && gp[1] == '*')
+ if (x < w - 1 && gp[1] == '*')
return true;
if (x > 0 && *(gp - 1) == '... |
Remove legacy #define that's always true | @@ -1054,7 +1054,6 @@ void determine_optimal_set_of_endpoint_formats_to_use(
int best_quant_levels_mod[MAX_WEIGHT_MODES];
int best_ep_formats[MAX_WEIGHT_MODES][4];
-#if ASTCENC_SIMD_WIDTH > 1
// have to ensure that the "overstep" of the last iteration in the vectorized
// loop will contain data that will never be picke... |
eyre: only allow authenticated GET scry requests
Lacking any other permissioning mechanism, we must simply reject
unauthenticated HTTP-scry requests for now. | ++ handle-scry
|= [authenticated=? =address =request:http]
|^ ^- (quip move server-state)
+ ?. authenticated
+ (error-response 403 ~)
+ ?. =(%'GET' method.request)
+ (error-response 405 "may only GET scries")
:: make sure the path contains an app to scry into
::
=+ req=(parse-request-line url.request)
|
MQTT: increase size of variable i to avoid potential infinite loop | @@ -1111,7 +1111,7 @@ tcp_input(struct tcp_socket *s,
conn->in_packet.payload_pos += copy_bytes;
pos += copy_bytes;
- uint8_t i;
+ uint32_t i;
DBG("MQTT - Copied bytes: \n");
for(i = 0; i < copy_bytes; i++) {
DBG("%02X ", conn->in_packet.payload[i]);
|
Tell GLFW to not change the working directory; | @@ -138,6 +138,7 @@ if(NOT (EMSCRIPTEN OR ANDROID))
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "")
set(GLFW_BUILD_TESTS OFF CACHE BOOL "")
set(GLFW_BUILD_DOCS OFF CACHE BOOL "")
+ set(GLFW_USE_CHDIR OFF CACHE BOOL "")
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
add_subdirectory(deps/glfw glfw)
include_directories(deps/glfw/inc... |
Add bounds checking to Shader:send with Blobs; | @@ -62,7 +62,12 @@ int l_lovrShaderSend(lua_State* L) {
switch (uniform->type) {
case UNIFORM_FLOAT:
if (blob) {
+ n = uniform->count;
floats = (float*) (*blob)->data;
+ size_t count = n * components;
+ size_t capacity = (*blob)->size / sizeof(float);
+ const char* s = capacity == 1 ? "" : "s";
+ lovrAssert(capacity >=... |
gh-actions: add some SLEEF builds
SLEEF isn't included in Ubuntu until 19.04, so we have to use 20.04
even though "ubuntu-latest" is still currently 19.04. | @@ -143,6 +143,72 @@ jobs:
with:
file: ./build/meson-logs/coverage.xml
+ sleef:
+ runs-on: ubuntu-20.04
+ env:
+ CFLAGS: -march=native -Wall -Wextra -Werror
+ CXXFLAGS: -march=native -Wall -Wextra -Werror
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: recursive
+ - name: Install APT Dependencies
+ run: su... |
hw/bsp: Specify SSD1673 config values in Reel Board bsp | @@ -39,6 +39,11 @@ syscfg.vals:
SPI_0_MASTER_PIN_SCK: 19
SPI_0_MASTER_PIN_MOSI: 20
SPI_0_MASTER_PIN_MISO: 21
+ SSD1673_BUSY_PIN: 14
+ SSD1673_RESET_PIN: 15
+ SSD1673_DC_PIN: 16
+ SSD1673_CS_PIN: 17
+ SSD1673_SPI_DEV: 0
syscfg.vals.BLE_LP_CLOCK:
TIMER_0: 0
|
Update system_ARMCR52.c | @@ -153,7 +153,7 @@ void simulation_exit()
void $Sub$$main(void)
{
- enable_caches(); // Initalize caches right away. Implmentation varies by core
+ enable_caches(); // Initalize caches right away. Implementation varies by core
$Super$$main(); // calls original main()
|
Fix data race on LUOS_ASSERT check on local-host | @@ -991,9 +991,9 @@ error_return_t MsgAlloc_SetTxTask(ll_container_t *ll_container_pt, uint8_t *data
if (localhost != EXTERNALHOST)
{
// This is a localhost message copy it as a message task
- LUOS_ASSERT(msg_tasks[msg_tasks_stack_id] == 0);
LUOS_ASSERT(!(msg_tasks_stack_id > 0) || (((uint32_t)msg_tasks[0] >= (uint32_t... |
cache: use strncpy instead of snprintf | @@ -172,18 +172,17 @@ static int elektraMkdirParents (const char * pathname)
static char * elektraGenTempFilename (char * cacheFileName)
{
char * tmpFile = NULL;
- size_t len = 0;
size_t tmpFilenameSize = 0;
size_t cacheFileNameSize = strlen (cacheFileName);
tmpFilenameSize = cacheFileNameSize + POSTFIX_SIZE;
tmpFile =... |
gopts: fix freebsd again | @@ -65,7 +65,7 @@ static char ** loadEnvp (void)
return environ;
}
-static void cleanupArgs (int argc, char ** argv)
+static void cleanupArgs (int argc ELEKTRA_UNUSED, char ** argv)
{
elektraFree (argv[0]);
elektraFree (argv);
|
prevents profiling on *bsd | @@ -186,6 +186,13 @@ _main_getopt(c3_i argc, c3_c** argv)
}
}
+#if defined(U3_OS_bsd)
+ {
+ fprintf(stderr, "profiling isn't yet supported on BSD\r\n");
+ return c3n;
+ }
+#endif
+
if ( 0 != u3_Host.ops_u.fak_c ) {
if ( 28 < strlen(u3_Host.ops_u.fak_c) ) {
fprintf(stderr, "fake comets are disallowed\r\n");
|
fixed MEM_getLargestFreeBlock(..) method | @@ -209,16 +209,23 @@ u16 MEM_getLargestFreeBlock()
{
u16* b;
u16 bsize;
+ u16 csize;
u16 res;
b = heap;
res = 0;
+ csize = 0;
while ((bsize = *b))
{
- // memory block not used --> test it
- if ((!(bsize & USED)) && (bsize > res))
- res = bsize;
+ // memory block is used --> reset cumulated size
+ if (bsize & USED) csi... |
Use correct variable in test diagnostic
create_ssl_connection() prints out the results if SSL_accept() and/or
SSL_connect() fail, but was reusing the client return value when printing
about SSL_accept() failures. | @@ -669,7 +669,7 @@ int create_ssl_connection(SSL *serverssl, SSL *clientssl)
}
if (!servererr && rets <= 0 && err != SSL_ERROR_WANT_READ) {
- printf("SSL_accept() failed %d, %d\n", retc, err);
+ printf("SSL_accept() failed %d, %d\n", rets, err);
servererr = 1;
}
if (clienterr && servererr)
|
xpath BUGFIX start node in_ctx change for "." | @@ -6230,11 +6230,6 @@ moveto_scnode_self(struct lyxp_set *set, ly_bool all_desc, uint32_t options)
return LY_EVALID;
}
- /* nothing to do */
- if (!all_desc) {
- return LY_SUCCESS;
- }
-
/* getnext opts */
getnext_opts = 0;
if (options & LYXP_SCNODE_OUTPUT) {
@@ -6243,6 +6238,14 @@ moveto_scnode_self(struct lyxp_set *... |
fix usage with C++ | #ifndef __spglib_H__
#define __spglib_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
/* SPGCONST is used instead of 'const' so to avoid gcc warning. */
/* However there should be better way than this way.... */
#ifndef SPGCONST
@@ -481,4 +484,7 @@ void spg_get_neighboring_grid_points(int relative_grid_points[],
/* Retur... |
esp8266/modnetwork: Wait for iface to go down before forcing power mgmt.
If the STA interface is connected to an AP then it must be fully
disconnected and deactivated before forcing the power management on. | @@ -89,6 +89,10 @@ STATIC mp_obj_t esp_active(size_t n_args, const mp_obj_t *args) {
}
error_check(wifi_set_opmode(mode), "Cannot update i/f status");
if (mode == NULL_MODE) {
+ // Wait for the interfaces to go down before forcing power management
+ while (wifi_get_opmode() != NULL_MODE) {
+ ets_loop_iter();
+ }
wifi_f... |
cacheline concurrency: move allocation outside critical section | @@ -407,6 +407,14 @@ static inline bool __lock_cache_line_wr(struct ocf_cache_line_concurrency *c,
return true;
}
+ waiter = NULL;
+ if (cb) {
+ /* Need to create waiter */
+ waiter = env_allocator_new(c->allocator);
+ if (!waiter)
+ return false;
+ }
+
__lock_waiters_list(c, line, flags);
/* At the moment list is prot... |
ChangeLog.txt: Update release date. I am not going to make it today. | * apps/graphics/twm4ndx: Compile out cursor support if we are using a
mouse From Gregory Nutt (2019-05-17).
-7.31 2019-07-21 Gregory Nutt <gnutt@nuttx.org>
+7.31 2019-07-22 Gregory Nutt <gnutt@nuttx.org>
* Remove some cases in Kconfig files of 'comment' with 'depends on'. That
is probably a good practice. I removed the... |
BugID:16967023:[export] remove #include <unistd.h> from linkkit_export.h | @@ -12,7 +12,6 @@ extern "C" {
#endif /* __cplusplus */
#include <stdint.h>
-#include <unistd.h>
typedef void (*handle_post_cb_fp_t)(const void *thing_id, int respons_id, int code, const char *response_message,
void *ctx);
|
docs: fix aabb docs | @@ -23,6 +23,7 @@ Functions:
#. :c:func:`glm_aabb_merge`
#. :c:func:`glm_aabb_crop`
#. :c:func:`glm_aabb_crop_until`
+#. :c:func:`glm_aabb_frustum`
Functions documentation
~~~~~~~~~~~~~~~~~~~~~~~
@@ -61,7 +62,7 @@ Functions documentation
| *[in]* **cropBox** crop box
| *[out]* **dest** cropped bounding box
-.. c:functi... |
Remove useless hostname check in server side | @@ -235,20 +235,6 @@ static int ssl_tls13_offered_psks_check_identity_match_ticket(
(int)age_diff_in_ms ) );
goto exit;
}
-#if 0
-#if defined(MBEDTLS_SSL_SERVER_NAME_INDICATION)
- if( ssl->session_negotiate->hostname != NULL &&
- ssl->session_negotiate->hostname_len != 0 &&
- memcmp( ssl->session_negotiate->hostname,
-... |
Allow --strict-warnings with the icc compiler as well | @@ -1323,8 +1323,8 @@ if (defined($config{api})) {
if ($strict_warnings)
{
my $wopt;
- die "ERROR --strict-warnings requires gcc or clang"
- unless $ecc eq 'gcc' || $ecc eq 'clang';
+ die "ERROR --strict-warnings requires gcc, clang or icc"
+ unless $ecc eq 'gcc' || $ecc eq 'clang' || $ecc eq 'icc';
foreach $wopt (spli... |
BugID:23252728: Fix knx demo code styles and include path. | #include <stdio.h>
#include <aos/kernel.h>
-#include "uknx.h"
-#include "uknx_ll.h"
+#include "knx/uknx.h"
+#include "knx/uknx_ll.h"
#define EXPECT_EQ(a, b) do{ if(a!=b) return -1;} while(0)
@@ -33,9 +33,11 @@ static void data_proc(UKNX_DATA_EVENT * pd)
if( pd->type == DATA_EVENT_GROUP ) {
UKNX_BUF dpt = pd->data;
- } ... |
usb_update: Add support for INJECT_ENTROPY command (fixups)
Minor fixups on CL:513807.
BRANCH=none
TEST=none
Commit-Ready: Nicolas Boichat
Tested-by: Nicolas Boichat | @@ -219,8 +219,9 @@ static int try_vendor_command(struct consumer const *consumer, size_t count)
}
CPRINTS("Adding %db of entropy", entropy_count);
- /* Add the whole buffer to entropy. */
- rollback_add_entropy(buffer+header_size, entropy_count);
+ /* Add the entropy to secret. */
+ rollback_add_entropy(buffer + heade... |
Fixed bug that caused crash when printing wifi.suspend disabled msg | @@ -512,16 +512,16 @@ static int wifi_resume(lua_State* L)
/* End WiFi suspend functions*/
#else
-static char *susp_note_str = "\n The option \"pmsleep_enable\" in \"app/include/user_config.h\" was disabled during FW build!\n";
+static char *susp_note_str = "\n The option \"PMSLEEP_ENABLE\" in \"app/include/user_config... |
Make OpenXR the default driver built by CMake; | @@ -16,8 +16,8 @@ option(LOVR_ENABLE_THREAD "Enable the thread module" ON)
option(LOVR_ENABLE_TIMER "Enable the timer module" ON)
option(LOVR_USE_LUAJIT "Use LuaJIT instead of Lua" ON)
-option(LOVR_USE_OPENVR "Enable the OpenVR backend for the headset module" ON)
-option(LOVR_USE_OPENXR "Enable the OpenXR backend for t... |
[ctr/lua] modify print format for lua number | @@ -139,13 +139,13 @@ static bool lua_util_dump_json (lua_State *L, int idx, sbuff_t *sbuf, bool json_
if (luaL_isinteger(L, idx))
len = sprintf (tmp, "\"%ld\",", lua_tointeger(L, idx));
else
- len = sprintf (tmp, "\"%g\",", lua_tonumber(L, idx));
+ len = sprintf (tmp, "\"%.14g\",", lua_tonumber(L, idx));
}
else {
if (... |
Handle null state, don't read/write on error
Need to guard against errors when reading/writing probably, if there is
an error, forgo those events.
Guard against null state (and the byproduct, a segfault), check if the
state is null before utilizing it. | @@ -1702,19 +1702,22 @@ void janet_loop1_impl(int has_timeout, JanetTimestamp timeout) {
} else {
JanetStream *stream = p;
JanetListenerState *state = stream->state;
+ if (NULL != state) {
state->event = events + i;
JanetAsyncStatus statuses[4];
for (int i = 0; i < 4; i++)
statuses[i] = JANET_ASYNC_STATUS_NOT_DONE;
+ i... |
Fix success path memory leaks
Errors still expected on the failure path, but this is a harder
one to fix with the current code, so not part of this commit | @@ -2352,11 +2352,6 @@ int astc_main(int argc, char **argv)
printf("3D source images not supported with -array option: %s\n", new_input_filename);
exit(1);
}
-
- // BCJ(DEBUG)
- // printf("\n\n Image %d \n", image_index);
- // dump_image( input_images[image_index] );
- // printf("\n\n");
}
// Check load result.
@@ -241... |
DOC: fix documentation of som EVP_MD_CTX functions
They were documented to take an EVP_MD pointer, when they really take
an EVP_MD_CTX pointer.
Fixes | @@ -68,9 +68,9 @@ EVP_MD_do_all_ex
const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
const char *EVP_MD_CTX_name(const EVP_MD_CTX *ctx);
- int EVP_MD_CTX_size(const EVP_MD *ctx);
- int EVP_MD_CTX_block_size(const EVP_MD *ctx);
- int EVP_MD_CTX_type(const EVP_MD *ctx);
+ int EVP_MD_CTX_size(const EVP_MD_CTX *ctx);
+ i... |
fix shadow in library/neh | @@ -1513,8 +1513,8 @@ namespace {
void Send(TAtomicBase requestId, TData& data, const TString& compressionScheme, const THttpVersion& ver, const TString& headers) {
class THttpResponseFormatter {
public:
- THttpResponseFormatter(TData& theData, const TString& contentEncoding, const THttpVersion& theVer, const TString& ... |
Make fallback from P10 to P9 conditional on suitable compiler | @@ -53,8 +53,10 @@ static gotoblas_t *get_coretype(void) {
return &gotoblas_POWER10;
#endif
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
+#if (!defined __GNUC__) || ( __GNUC__ >= 6)
if (__builtin_cpu_is("power10"))
return &gotoblas_POWER9;
+#endif
return NULL;
}... |
external/mambo: add a poor man's ftrace command
Add an ftrace command that steps instructions and prints the symbol
whenever it changes. This can be helpful for low level debugging. | @@ -169,6 +169,32 @@ proc s { {nr 1} } {
}
}
+proc ftrace { {nr 1} } {
+ upvar #0 target_t t
+ upvar #0 target_c c
+ upvar #0 target_p p
+
+ set pc [mysim cpu $p:$c:$t display spr pc]
+ set sym [lindex [split [addr2func $pc] {+}] 0]
+ set prev_pc $pc
+
+ puts [ipc]
+ puts "$sym"
+
+ for { set i 0 } { $i < $nr } { incr ... |
motors/settings: add settings for angular motors
These were recently added and defaulted to the same values as other motors. This adds settings for these motors that can be tweaked over time. | @@ -138,13 +138,31 @@ static pbio_control_settings_t settings_servo_technic_xl = {
.use_estimated_speed = true,
};
+static pbio_control_settings_t settings_servo_technic_l_angular = {
+ .max_rate = 1000,
+ .abs_acceleration = 1500,
+ .rate_tolerance = 50,
+ .count_tolerance = 10,
+ .stall_rate_limit = 20,
+ .stall_time... |
Remove OS- and editor-specific entries from gitignore
Users should be adding such things to their local .git/info/exclude. | *.ihex
*.pyc
*~
-.DS_Store
obj_*
Makefile.target
doc/html
@@ -71,13 +70,6 @@ summary
tests/[0-9][0-9]-*/report
tests/[0-9][0-9]-*/org/
-# cscope files
-cscope.*
-
-# vim swap files
-*.swp
-*.swo
-
# x86 UEFI files
cpu/x86/uefi/Makefile.uefi
cpu/x86/uefi/edk2
|
release yd_migrate | "yd-migrate": {
"formula": {
"sandbox_id": [
- 624872951
+ 652676106
],
- "match": "deploy_migrate/bin"
+ "match": "yd_migrate"
},
"executable": {
"yd-migrate": [
|
Invoke called behavior after layer change.
* If you press a key with a layer active, then
deactivate the layer (e.g. releasing a `&mo`,
then release the key, we currently may send
the wrong key release event.
* Fixes | @@ -34,9 +34,6 @@ static u8_t zmk_keymap_layer_default = 0;
#define TRANSFORMED_LAYER(node) \
{ UTIL_LISTIFY(DT_PROP_LEN(node, bindings), _TRANSFORM_ENTRY, node) },
-static struct zmk_behavior_binding zmk_keymap[ZMK_KEYMAP_LAYERS_LEN][ZMK_KEYMAP_LEN] = {
- DT_INST_FOREACH_CHILD(0, TRANSFORMED_LAYER)
-};
#if ZMK_KEYMAP_... |
in_tail: fix debug message params (CID 305255) | @@ -65,7 +65,7 @@ int flb_tail_scan_callback(struct flb_input_instance *ins,
ret = flb_tail_scan(ctx->path_list, ctx);
if (ret > 0) {
- flb_plg_debug(ins, "%i new files found for '%s'", ret);
+ flb_plg_debug(ins, "%i new files found", ret);
}
return ret;
|
last fix was not perfect, try this | @@ -113,7 +113,7 @@ ARCHITECTURE dma OF dma IS
ST_COM_XLAT_WR_P0
);
TYPE DMA_FSM_T IS (ST_FSM_ERROR, ST_IDLE,
- ST_UPDATE_WRITE_BUF_READ_ADD,
+ ST_START_DMA_WRITE_REQ, ST_STOP_DMA_WRITE_REQ,
ST_DMA_READ_REQ, ST_DMA_WRITE_REQ
);
TYPE AH_C_FSM_T IS (ST_FSM_ERROR, ST_RSP_ERROR, ST_IDLE,
@@ -1534,17 +1534,23 @@ BEGIN
ELSIF... |
issue-8998: Ensure that the alert is generated and reaches the remote | @@ -52,7 +52,6 @@ int dtls1_dispatch_alert(SSL *s)
s->s3.alert_dispatch = 1;
/* fprintf( stderr, "not done with alert\n" ); */
} else {
- if (s->s3.send_alert[0] == SSL3_AL_FATAL)
(void)BIO_flush(s->wbio);
if (s->msg_callback)
|
nrf: Update nrfjprog links to allow to download any version.
Instead of downloading "a" version, these links point to history from where
you can download the verson you like. | @@ -114,13 +114,13 @@ Install the necessary tools to flash and debug using Segger:
[JLink Download](https://www.segger.com/downloads/jlink#)
-[nrfjprog linux-32bit Download](https://www.nordicsemi.com/eng/nordic/download_resource/52615/16/95882111/97746)
+[nrfjprog linux-32bit Download](https://www.nordicsemi.com/eng/n... |
Prevent state.lastupdated timestamps during woodstock | @@ -1574,7 +1574,7 @@ bool DeRestPluginPrivate::sensorToMap(const Sensor *sensor, QVariantMap &map, bo
{
const char *key = item->descriptor().suffix + 6;
- if (rid.suffix == RStateLastUpdated && !item->lastSet().isValid())
+ if (rid.suffix == RStateLastUpdated && !item->lastSet().isValid() || (item->lastSet().date().ye... |
Deploy Python3 Windows build. | @@ -18,7 +18,7 @@ osx_image: xcode11
install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get -qq update && sudo apt-get install -y cmake; fi;
- - if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install cmake && choco install swig; fi;
+ - if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install cmake; fi;
... |
add 'unsigned char list' | @@ -15,7 +15,7 @@ Blockly.Blocks['lists_create_with'] = {
init: function() {
this.setColour(Blockly.Blocks.lists.HUE);
this.appendDummyInput("")
- .appendField(new Blockly.FieldDropdown([[Blockly.LANG_MATH_INT, 'long'],[Blockly.LANG_MATH_FLOAT, 'float'],[Blockly.LANG_MATH_CHAR, 'char']]), "TYPE")
+ .appendField(new Blo... |
VERSION bump to version 1.3.39 | @@ -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 38)
+set(SYSREPO_MICRO_VERSION 39)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
misc/opts.c: fix opt_long | @@ -497,7 +497,7 @@ bool opt_uint(void* ptr, char c, const char* optarg)
bool opt_long(void* ptr, char c, const char* optarg)
{
UNUSED(c);
- *(long*)ptr = atoi(optarg);
+ *(long*)ptr = atol(optarg);
return false;
}
|
bugID:16965404:rename MQTT_USE_COMPRESSED_TOPIC to WITH_MQTT_ZIP_TOPIC | @@ -48,7 +48,7 @@ static void _iotx_mqtt_event_handle_sub(void *pcontext, void *pclient, iotx_mqtt
#define MQTT_MD5_PATH_DEFAULT_LEN (5)
-#ifdef MQTT_USE_COMPRESSED_TOPIC
+#if WITH_MQTT_ZIP_TOPIC
static int iotx_mc_get_md5_topic(const char *path, int len, char outbuf[], int outlen)
{
unsigned char md5[16] = {0};
@@ -53... |
Set param defaults for load color change | @@ -466,6 +466,8 @@ parse_overlay_config(struct overlay_params *params,
params->enabled[OVERLAY_PARAM_ENABLED_io_read] = false;
params->enabled[OVERLAY_PARAM_ENABLED_io_write] = false;
params->enabled[OVERLAY_PARAM_ENABLED_wine] = false;
+ params->enabled[OVERLAY_PARAM_ENABLED_gpu_load_change] = false;
+ params->enable... |
Tests: added PHP test with invalid index extension only. | +import os
import re
+import shutil
import unittest
from unit.applications.lang.php import TestApplicationPHP
@@ -512,5 +514,33 @@ class TestPHPApplication(TestApplicationPHP):
self.get(url='/index.wrong')['status'], 200, 'status'
)
+ new_root = self.testdir + "/php"
+ os.mkdir(new_root)
+ shutil.copy(self.current_dir ... |
hdat: SPIRA-H/S changes for P9
Add new ntuples to SPIRA-H/S structure.
We have already switched to SPIRA-H/S from legacy SPIRA. Hence
I've not made any update to legacy SPIRA structure. | @@ -103,6 +103,7 @@ struct spirah_ntuples {
struct spira_ntuple mdump_src; /* 0x0a0 */
struct spira_ntuple mdump_dst; /* 0x0c0 */
struct spira_ntuple mdump_res; /* 0x0e0 */
+ struct spira_ntuple proc_dump_area; /* 0x100 */
};
struct spirah {
@@ -110,7 +111,7 @@ struct spirah {
struct HDIF_idata_ptr ntuples_ptr;
__be64 ... |
all: Remove spaces inside and around parenthesis.
Using new options enabled in the uncrustify configuration. | @@ -161,7 +161,7 @@ sp_bool = force # ignore/add/remove/force
sp_compare = force # ignore/add/remove/force
# Add or remove space inside '(' and ')'.
-sp_inside_paren = ignore # ignore/add/remove/force
+sp_inside_paren = remove # ignore/add/remove/force
# Add or remove space between nested parentheses, i.e. '((' vs. ') ... |
in_head: replace msgpack_pack_bin with str | @@ -71,17 +71,17 @@ static int in_head_collect(struct flb_input_instance *i_ins,
flb_pack_time_now(&i_ins->mp_pck);
msgpack_pack_map(&i_ins->mp_pck, num_map);
- msgpack_pack_bin(&i_ins->mp_pck, 4);
- msgpack_pack_bin_body(&i_ins->mp_pck, "head", 4);
- msgpack_pack_bin(&i_ins->mp_pck, head_config->buf_len);
- msgpack_pa... |
Wrong version! | @@ -6,7 +6,7 @@ source 'https://rubygems.org'
# alphabetical order so it tries to install Nokogiri before pkg-config and
# this fails.
gem 'fix-dep-order', :path => 'scripts'
-gem 'nokogiri', '~> 1.6.8'
+gem 'nokogiri'
group :development, :test do
gem 'minitest'
|
Use bcopy/bzero | @@ -8150,6 +8150,8 @@ modules:
kernel: false
nid: 0xA7D28DAE
functions:
+ sce_paf_private_bcopy: 0x44C0825D
+ sce_paf_private_bzero: 0xD21442B4
sce_paf_private_fclose: 0xA005E879
sce_paf_private_fflush: 0x26A0A5F6
sce_paf_private_fgetc: 0xDEB581B4
@@ -8164,13 +8166,11 @@ modules:
sce_paf_private_look_ctype_table: 0x247... |
Disable UIKitActionSheetTests
* Disable UIKitActionSheetTests
Causing failures in subsequent tests in the daily build. | @@ -36,6 +36,8 @@ using namespace winrt::Windows::UI::Xaml;
class UIKitActionSheetTests {
public:
BEGIN_TEST_CLASS(UIKitActionSheetTests)
+ // TODO #2785: Investigate failure in VSTS runs.
+ TEST_CLASS_PROPERTY(L"Ignore", L"true")
END_TEST_CLASS()
TEST_CLASS_SETUP(UIKitTestsSetup) {
|
nat: use correct node indexes for queues
Type: fix | @@ -2011,10 +2011,10 @@ nat44_set_node_indexes (snat_main_t * sm, vlib_main_t * vm)
vlib_node_t *node;
node = vlib_get_node_by_name (vm, (u8 *) "nat44-ed-out2in");
- sm->in2out_node_index = node->index;
+ sm->out2in_node_index = node->index;
node = vlib_get_node_by_name (vm, (u8 *) "nat44-ed-in2out");
- sm->out2in_node... |
Fix controllers example; | @@ -21,8 +21,7 @@ end
function lovr.draw()
for controller, model in pairs(controllerModels) do
local x, y, z = controller:getPosition()
- local angle, axisX, axisY, axisZ = controller:getOrientation()
- model:draw(x, y, z, 1, -angle, axisX, axisY, axisZ)
+ model:draw(x, y, z, 1, controller:getOrientation())
end
end
|
polymorphic stack fix; attempt 2 | @@ -152,7 +152,7 @@ u16 GetSlotForStackIndex (IM3Compilation o, u16 i_stackIndex)
{ d_m3Assert (i_stackIndex < o->stackIndex or IsStackPolymorphic (o));
u16 slot = c_slotUnused;
- if (not IsStackPolymorphic (o))
+ if (i_stackIndex < o->stackIndex)
slot = o->wasmStack [i_stackIndex];
return slot;
|
fix function HasAuxRelation not close pg_aux_class | @@ -246,6 +246,7 @@ bool HasAuxRelation(Oid relid)
tuple = systable_getnext(auxscan);
result = HeapTupleIsValid(tuple);
systable_endscan(auxscan);
+ heap_close(auxrel, AccessShareLock);
return result;
}
|
Use wait-for-event to not spin in the blas_lock | @@ -53,16 +53,16 @@ static void __inline blas_lock(volatile BLASULONG *address){
BLASULONG ret;
do {
- while (*address) {YIELDING;};
-
__asm__ __volatile__(
"mov x4, #1 \n\t"
+ "sevl \n\t"
"1: \n\t"
+ "wfe \n\t"
+ "2: \n\t"
"ldaxr x2, [%1] \n\t"
"cbnz x2, 1b \n\t"
- "2: \n\t"
"stxr w3, x4, [%1] \n\t"
- "cbnz w3, 1b \n\... |
Start markdown with --- | :: vex: parsing result
::
=/ src .^(wain %cx pax)
- =* txt (zing (turn src |=(@t (weld (rip 3 +<) `tape`~[`@`10]))))
+ =. src ['---' src]
+ =/ txt (zing (turn src |=(@t (weld (rip 3 +<) `tape`~[`@`10]))))
=/ vex (cram [1 1] txt)
::
:: print result as error or xml text
++ cram :: parse unmark
%+ stag [%div ~] ::REVIEW
|... |
libhfuzz: implement __sanitizer_cov_trace_const* variants | @@ -131,6 +131,19 @@ ATTRIBUTE_X86_REQUIRE_SSE42 void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint6
}
}
+/*
+ * Const versions of trace_cmp, we don't use any special handling for these (for
+ * now)
+ */
+void __sanitizer_cov_trace_const_cmp1(uint8_t Arg1, uint8_t Arg2)
+ __attribute__((weak, alias("__sanitizer_cov_t... |
Fix infinite loop in TileLayer update method when called with inconsistent state (zero view dimensions) | @@ -99,6 +99,9 @@ namespace carto {
// Get view state
const ViewState& viewState = mapRenderer->getViewState();
+ if (viewState.getWidth() <= 0 || viewState.getHeight() <= 0) {
+ continue;
+ }
// Check if view state has changed
if (_firstCull || viewState.getModelviewProjectionMat() != _viewState.getModelviewProjection... |
[tools]: change the status code | @@ -1058,7 +1058,7 @@ int main(int ac, char **av)
conf_set_message_callback(NULL);
av++;
res = handle_exit();
- return 1;
+ return res;
}
do {
|
SignatureToFuncType fix | @@ -76,13 +76,13 @@ _ (AllocFuncType (& funcType, (u32) maxNumTypes));
if (parsingRets)
{
- _throwif ("malformed signature; return count overflow", funcType->numArgs + funcType->numArgs >= maxNumTypes);
+ _throwif ("malformed signature; return count overflow", funcType->numRets + funcType->numArgs >= maxNumTypes);
func... |
feat(discord-gateway.c): send a heartbeat on startup/resume | @@ -135,6 +135,24 @@ send_identify(struct discord_gateway *gw)
gw->session.identify_tstamp = ws_timestamp(gw->ws);
}
+/* send heartbeat pulse to websockets server in order
+ * to maintain connection alive */
+static void
+send_heartbeat(struct discord_gateway *gw)
+{
+ char payload[64];
+ int ret = json_inject(payload,... |
Update build_oc.tool | @@ -222,7 +222,7 @@ package() {
cp "${selfdir}/Utilities/macserial/FORMAT.md" "${dstdir}/Utilities/macserial"/ || exit 1
cp "${selfdir}/Utilities/macserial/README.md" "${dstdir}/Utilities/macserial"/ || exit 1
# additional docs for ocvalidate.
- cp "${selfdir}/Utilities/ocvalidate/Checklist.md" "${dstdir}/Utilities/ocv... |
vell: Update fan table version 2
BRANCH=none
TEST=Thermal team verified thermal policy is expected. | @@ -37,44 +37,32 @@ struct fan_step {
static const struct fan_step fan_table[] = {
{
/* level 0 */
- .on = {47, 58, -1, 48, -1},
+ .on = {49, 60, -1, 50, -1},
.off = {99, 99, -1, 99, -1},
.rpm = {0},
},
{
/* level 1 */
- .on = {48, 58, -1, 49, -1},
- .off = {46, 99, -1, 47, -1},
+ .on = {50, 60, -1, 51, -1},
+ .off = {... |
just to make it more readable | @@ -269,10 +269,10 @@ VGMCommand* Sample_getSetRateCommand(SampleBank* bank, Sample* sample, int value
return VGMCommand_createEx(data, 0, -1);
}
-VGMCommand* Sample_getStartLongCommandEx(SampleBank* bank, Sample* sample, int value)
+VGMCommand* Sample_getStartLongCommandEx(SampleBank* bank, Sample* sample, int len)
{
... |
YAMBi: Add link to Bison packages | ## Introduction
-This plugin uses Bison to generate a parser for the [YAML](http://yaml.org) serialization format.
+This plugin uses [Bison](https://www.gnu.org/software/bison) to generate a parser for the [YAML](http://yaml.org) serialization format.
## Dependencies
-The plugin requires [Bison](https://www.gnu.org/sof... |
docs(timer) fix typos | @@ -52,7 +52,7 @@ You can modify some parameters of the timers later:
## Repeat count
-You can make a timer repat only a given times with `lv_timer_set_repeat_count(timer, count)`. The timer will automatically be deleted after being called the defined times. Set the ount to `-1` to repeat infinitly.
+You can make a tim... |
Thread pools: various fixes. | @@ -83,7 +83,7 @@ nxt_thread_pool_init(nxt_thread_pool_t *tp)
if (nxt_fast_path(nxt_sem_init(&tp->sem, 0) == NXT_OK)) {
- link = nxt_malloc(sizeof(nxt_thread_link_t));
+ link = nxt_zalloc(sizeof(nxt_thread_link_t));
if (nxt_fast_path(link != NULL)) {
link->start = nxt_thread_pool_start;
@@ -237,7 +237,7 @@ nxt_thread_p... |
h7: fix usb clock | @@ -313,8 +313,8 @@ void usb_init() {
gpio_init.Pull = LL_GPIO_PULL_NO;
#ifdef STM32H7
- gpio_pin_init_af(&gpio_init, PIN_A11, GPIO_AF10_OTG2_FS);
- gpio_pin_init_af(&gpio_init, PIN_A12, GPIO_AF10_OTG2_FS);
+ gpio_pin_init_af(&gpio_init, PIN_A11, GPIO_AF10_OTG1_FS);
+ gpio_pin_init_af(&gpio_init, PIN_A12, GPIO_AF10_OTG... |
board/kingoftown/board.h: Format with clang-format
BRANCH=none
TEST=none | #include "gpio_signal.h"
#include "registers.h"
-enum adc_channel {
- ADC_VBUS,
- ADC_AMON_BMON,
- ADC_PSYS,
- ADC_CH_COUNT
-};
+enum adc_channel { ADC_VBUS, ADC_AMON_BMON, ADC_PSYS, ADC_CH_COUNT };
/* Motion sensors */
enum sensor_id {
@@ -83,11 +78,7 @@ enum sensor_id {
SENSOR_COUNT,
};
-enum pwm_channel {
- PWM_CH_K... |
CURLGET: require libcurl >= 7.28.0 | @@ -3,6 +3,9 @@ if (DEPENDENCY_PHASE)
if(NOT CURL_FOUND)
remove_plugin(curlget "Curl-dev not found")
endif ()
+ if (CURL_VERSION_STRING VERSION_LESS "7.28.0")
+ remove_plugin(curlget "libcurl >= 7.28.0 required")
+ endif ()
find_package(OpenSSL)
if(NOT OPENSSL_FOUND)
remove_plugin(curlget "OpenSSL-dev not found")
|
Fix: unnecesary uio binding for Mellanox NIC
UIO binding is not required for Mellanox NIC and calling vlib_pci_bind_to_uio()
should be skipped. | @@ -692,7 +692,9 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf)
;
/* Mellanox */
else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1013 && d->device_id <= 0x101a)
- ;
+ {
+ continue;
+ }
else
{
clib_warning ("Unsupported PCI device 0x%04x:0x%04x found "
|
[scons] adjustment for static build under CentOS
x-ref:
"Trying to compile under CentOS 6.10" | @@ -259,6 +259,7 @@ fullstatic_libs = GatherLibs(env, fullstaticlib)
fullstatic_linkflags = [staticenv['LINKFLAGS'], '-static']
if (('pthread' in fullstatic_libs) or ('pcre' in fullstatic_libs)) and (platform.system() == 'Linux'):
fullstatic_linkflags += ['-Wl,--whole-archive','-lpthread','-Wl,--no-whole-archive']
+ if... |
add defense code for player TC
Add error handling logics
for filesystem and file open file cases | ****************************************************************************/
#include <memory>
+#include <string.h>
#include <media/MediaPlayer.h>
#include <media/FileInputDataSource.h>
#include "tc_common.h"
@@ -51,9 +52,15 @@ void EmptyObserver::onPlaybackPaused(media::MediaPlayer &mediaPlayer)
static void SetUp(voi... |
notification: add names to news | @@ -367,7 +367,7 @@ Thanks to Daniel Bugl.
was extended.
The API now supports contexts for callbacks, the types `int`, `unsigned int`,
`long`, `unsigned long`, `float` and `double`.
- It also supports all of Elektra's `kdb_*_t` types defined in `kdbtypes.h`.
+ It also supports all of Elektra's `kdb_*_t` types defined i... |
Reverse Xiaomi Mjia switch button events | @@ -3259,7 +3259,7 @@ void DeRestPluginPrivate::updateSensorNode(const deCONZ::NodeEvent &event)
{
// TODO better button handler
quint32 button;
- if (ia->numericValue().u8 == 1) { button = S_BUTTON_1 + S_BUTTON_ACTION_INITIAL_PRESS; }
+ if (ia->numericValue().u8 == 0) { button = S_BUTTON_1 + S_BUTTON_ACTION_INITIAL_PR... |
compiling instructions for Tinker Board 1/1S | @@ -49,6 +49,10 @@ sudo systemctl restart systemd-binfmt
As most RK3399 device run AARCH64 OS, you'll need an `armhf` multiarch environment, and an armhf gcc: On debian, install it with `sudo apt install gcc-arm-linux-gnueabihf`.
+#### for Tinker Board (1/1S) or RK3288
+
+`mkdir build; cd build; cmake .. -DRPI4=1 -DCMA... |
Update README.md
Put name of topical team lead in readme at request of Also remove broken link to administrators. | @@ -111,5 +111,6 @@ for more information.
# Contact
If you have comments, questions, or feedback, please
-[write us an issue](https://github.com/LSSTDESC/CCL/issues). You can also contact the
-[administrators](https://github.com/LSSTDESC/CCL/CCL-administrators).
+[write us an issue](https://github.com/LSSTDESC/CCL/issu... |
Change use of olen variables
Removed olen variable in favour of storing olens for
client and server separately. | @@ -60,7 +60,8 @@ int main( int argc, char *argv[] )
unsigned char cli_to_srv[36], srv_to_cli[33];
const char pers[] = "ecdh";
- size_t olen;
+ size_t srv_olen;
+ size_t cli_olen;
unsigned char secret_cli[32] = { 0 };
unsigned char secret_srv[32] = { 0 };
const unsigned char *p_cli_to_srv = cli_to_srv;
@@ -104,7 +105,7... |
Fix shutdown/restart options failing when multiple users are logged on | @@ -601,7 +601,7 @@ BOOLEAN PhUiRestartComputer(
NULL,
NULL,
0,
- SHUTDOWN_RESTART | Flags,
+ SHUTDOWN_FORCE_OTHERS | SHUTDOWN_RESTART | Flags,
SHTDN_REASON_FLAG_PLANNED
);
@@ -707,7 +707,7 @@ BOOLEAN PhUiRestartComputer(
NULL,
NULL,
0,
- SHUTDOWN_RESTART,
+ SHUTDOWN_FORCE_OTHERS | SHUTDOWN_RESTART,
SHTDN_REASON_FLAG_P... |
Ignoring EINTR error in kqueue. | @@ -705,7 +705,10 @@ nxt_kqueue_poll(nxt_event_engine_t *engine, nxt_msec_t timeout)
nxt_log(&engine->task, level, "kevent(%d) failed %E",
engine->u.kqueue.fd, err);
+ if (err != NXT_EINTR) {
nxt_kqueue_error(engine);
+ }
+
return;
}
|
website: write release notes | @@ -173,7 +173,7 @@ you up to date with the multi-language support provided by Elektra.
The website is generated from the repository, so all information about
plugins, bindings and tools are always up to date. Furthermore, we changed:
-- <<TODO>>
+- The Website now lives in the folders [website-frontend](/src/tools/web... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.