message
stringlengths
6
474
diff
stringlengths
8
5.22k
Remove unneeded call to `lv_obj_set_pos`
@@ -335,10 +335,7 @@ lv_obj_t * lv_obj_create(lv_obj_t * parent, const lv_obj_t * copy) /*Set the same coordinates for non screen objects*/ if(lv_obj_get_parent(copy) != NULL && parent != NULL) { lv_obj_set_pos(new_obj, lv_obj_get_x(copy), lv_obj_get_y(copy)); - } else { - lv_obj_set_pos(new_obj, 0, 0); } - } /*Send a ...
Update x86 HAL for timestamp
@@ -543,7 +543,7 @@ void LuosHAL_Reboot(void) ******************************************************************************/ uint64_t LuosHAL_GetTimestamp(void) { - return 0; + return (LuosHAL_GetSystick() * 1000); } /******************************************************************************
vendoring github.com/soniah/gosnmp
@@ -385,6 +385,9 @@ ALLOW .* -> vendor/github.com/siddontang/go-mysql/mysql # CONTRIB-1656 golang sftp server library ALLOW .* -> vendor/github.com/pkg/sftp +# CONTRIB-1670 +ALLOW .* -> vendor/github.com/soniah/gosnmp + # # Temporary exceptions. #
Disable depth mask when drawing text;
@@ -872,7 +872,9 @@ void lovrGraphicsPrint(const char* str, mat4 transform, float wrap, HorizontalAl lovrGraphicsTranslate(MATRIX_MODEL, 0, offsety, 0); lovrGraphicsBindTexture(font->texture); lovrGraphicsSetDefaultShader(SHADER_FONT); + glDepthMask(GL_FALSE); lovrGraphicsDrawPrimitive(GL_TRIANGLES, 0, 1, 0); + glDepth...
some small update.
@@ -2162,11 +2162,10 @@ static inline int op_method( mrbc_vm *vm, mrbc_value *regs ) { FETCH_BB(); - mrbc_decref(&regs[a]); - mrbc_value val = mrbc_proc_new( vm, vm->pc_irep->reps[b] ); if( !val.proc ) return -1; // ENOMEM + mrbc_decref(&regs[a]); regs[a] = val; return 0; @@ -2210,14 +2209,14 @@ static inline int op_cl...
network: use flb_socket_error() for socket validation
@@ -309,7 +309,6 @@ static int net_connect_async(int fd, uint32_t mask; char so_error_buf[256]; char *str; - socklen_t len = sizeof(error); struct flb_upstream *u = u_conn->u; /* connect(2) */ @@ -367,11 +366,7 @@ static int net_connect_async(int fd, /* Check the connection status */ if (mask & MK_EVENT_WRITE) { - ret ...
Controller: fixed cleaning up of control socket file in some cases. Previously, the unix domain control socket file might have been left in the file system after a failed nxt_listen_socket_create() call.
@@ -48,7 +48,7 @@ nxt_listen_socket_create(nxt_task_t *task, nxt_listen_socket_t *ls) s = nxt_socket_create(task, family, sa->type, 0, ls->flags); if (s == -1) { - goto socket_fail; + goto fail; } if (nxt_socket_setsockopt(task, s, SOL_SOCKET, SO_REUSEADDR, 1) != NXT_OK) { @@ -95,7 +95,7 @@ nxt_listen_socket_create(nxt...
Upgrade versions of flex and bison
set -xe + +# We use flex and bison + export LEX=flex export LEX_OUT=gribl.c $LEX -o gribl.c gribl.l @@ -7,6 +10,7 @@ sed 's/fgetc/getc/g' < grib_lex1.c > grib_lex.c rm -f grib_lex1.c rm -f $LEX_OUT +# This invokes bison yacc -v -d griby.y sed 's/yy/grib_yy/g' < y.tab.c > grib_yacc1.c sed 's/fgetc/getc/g' < grib_yacc1.c...
can be static so why not :p
@@ -694,7 +694,7 @@ public class TMX Collections.sort(objects, new ObjectComparator()); } - private boolean addField(String objectName, Map<String, TField> fields, TField field) + private static boolean addField(String objectName, Map<String, TField> fields, TField field) { if (fields.containsKey(field.name)) {
ipsec: fix IKEv2 crash when rsa cert is used for authentication Cause: EVP_MD_CTX object used but not initialized.
@@ -673,6 +673,7 @@ ikev2_verify_sign (EVP_PKEY * pkey, u8 * sigbuf, u8 * data) EVP_MD_CTX *md_ctx = EVP_MD_CTX_new (); #else EVP_MD_CTX md_ctx; + EVP_MD_CTX_init (&md_ctx); #endif #if OPENSSL_VERSION_NUMBER >= 0x10100000L
Reword Ctrl+x description Pressing Ctrl+x resizes the window to remove black borders, "optimal" is not well-defined.
@@ -58,7 +58,7 @@ static void usage(const char *arg0) { " resize window to 1:1 (pixel-perfect)\n" "\n" " Ctrl+x\n" - " resize window to optimal size (remove black borders)\n" + " resize window to remove black borders\n" "\n" " Ctrl+h\n" " Home\n"
[bsp][mb9bf500r] update scons config: disable IAR support.
@@ -18,8 +18,10 @@ elif CROSS_TOOL == 'keil': PLATFORM = 'armcc' EXEC_PATH = 'C:/Keil' elif CROSS_TOOL == 'iar': - PLATFORM = 'iar' - EXEC_PATH = 'C:/Program Files/IAR Systems/Embedded Workbench 6.0 Evaluation' + print('================ERROR============================') + print('Not support iar yet!') + print('=======...
mbedtls_x509_sig_alg_gets(): remove md dependency
@@ -131,6 +131,48 @@ int mbedtls_x509_get_alg( unsigned char **p, const unsigned char *end, return( 0 ); } +/* + * Convert md type to string + */ +static inline const char* md_type_to_string( mbedtls_md_type_t md_alg ) +{ + switch( md_alg ) + { +#if defined(MBEDTLS_MD5_C) + case MBEDTLS_MD_MD5: + return( "MD5" ); +#end...
include/driver/accel_bma2x2_public.h: Format with clang-format BRANCH=none TEST=none
@@ -44,7 +44,6 @@ extern const struct accelgyro_drv bma2x2_accel_drv; * other sensors are active. */ #define BMA255_ACCEL_MIN_FREQ 7810 -#define BMA255_ACCEL_MAX_FREQ \ - MOTION_MAX_SENSOR_FREQUENCY(125000, 15625) +#define BMA255_ACCEL_MAX_FREQ MOTION_MAX_SENSOR_FREQUENCY(125000, 15625) #endif /* CROS_EC_DRIVER_ACCEL_B...
[Kernel] fix the delay_until issue
@@ -569,7 +569,7 @@ rt_err_t rt_thread_delay_until(rt_tick_t *tick, rt_tick_t inc_tick) if (rt_tick_get() - *tick < inc_tick) { - *tick = rt_tick_get() - *tick + inc_tick; + *tick = *tick + inc_tick - rt_tick_get(); /* suspend thread */ rt_thread_suspend(thread);
vere: implements -x (exit immediately after boot)
@@ -565,6 +565,14 @@ _fork_into_background_process() exit(WEXITSTATUS(status)); } +/* _stop_on_boot_completed_cb(): exit gracefully after boot is complete +*/ +static void +_stop_on_boot_completed_cb() +{ + u3_pier_exit(u3_pier_stub()); +} + c3_i main(c3_i argc, c3_c** argv) @@ -596,6 +604,10 @@ main(c3_i argc, return ...
[build] fix c_opts problem
@@ -85,7 +85,7 @@ define BUILD_C_RULE ifeq ($(COMPILER),) -include $(OUTPUT_DIR)/Modules/$(call GET_BARE_LOCATION,$(1))$(2:.c=.d) endif -$(OUTPUT_DIR)/Modules/$(call GET_BARE_LOCATION,$(1))$(2:.c=.o): $(strip $($(1)_LOCATION))$(2) $(CONFIG_FILE) $$(dir $(OUTPUT_DIR)/Modules/$(call GET_BARE_LOCATION,$(1))$(2)).d $(RESOU...
extmod/modbuiltins/Control: add stall_tolerances
@@ -129,11 +129,43 @@ STATIC mp_obj_t builtins_Control_target_tolerances(size_t n_args, const mp_obj_t } STATIC MP_DEFINE_CONST_FUN_OBJ_KW(builtins_Control_target_tolerances_obj, 0, builtins_Control_target_tolerances); +// pybricks.builtins.Control.stall_tolerances +STATIC mp_obj_t builtins_Control_stall_tolerances(siz...
Don't send Hellos and Updates to new neighbours. This slows down initial convergence, but avoids a broadcast burst at boot. Thanks to Teco Boot for pointing this out.
@@ -183,23 +183,6 @@ update_neighbour(struct neighbour *neigh, struct hello_history *hist, rc = 1; } - if(unicast) - return rc; - - /* Make sure to give neighbours some feedback early after association */ - if((hist->reach & 0xBF00) == 0x8000) { - /* A new neighbour */ - send_hello(neigh->ifp); - } else { - /* Don't se...
Bump firmware version to 0x262b0500 fix stability issues from 0x26240500..0x26290500
@@ -71,7 +71,7 @@ DEFINES += GIT_COMMMIT=\\\"$$GIT_COMMIT\\\" \ # Minimum version of the RaspBee firmware # which shall be used in order to support all features for this software release (case sensitive) DEFINES += GW_AUTO_UPDATE_FW_VERSION=0x260b0500 -DEFINES += GW_MIN_RPI_FW_VERSION=0x26280500 +DEFINES += GW_MIN_RPI_...
Make sure that the flags variable is initialized.
@@ -170,7 +170,8 @@ create_llao(uint8_t *llao, uint8_t type) { static void ns_input(void) { - uint8_t flags; + uint8_t flags = 0; + LOG_INFO("Received NS from "); LOG_INFO_6ADDR(&UIP_IP_BUF->srcipaddr); LOG_INFO_(" to ");
Add --strict-timing as a commandline option
@@ -41,6 +41,10 @@ static void usage(void) { " Set MIDI to be sent via OSC formatted for Plogue Bidule.\n" " The path argument is the path of the Plogue OSC MIDI device.\n" " Example: /OSC_MIDI_0/MIDI\n" + "\n" + " --strict-timing\n" + " Reduce the timing jitter of outgoing MIDI and OSC messages.\n" + " Uses more CPU t...
toml: Added test case for table arrays/comments Added testcase for checking if the element root key of a table array is handled properly, when present in a write keyset (see
@@ -113,6 +113,7 @@ static void testWriteReadArrayInlineTableAlternating (void); static void testWriteReadTable (void); static void testWriteReadTableNested (void); static void testWriteReadTableArray (void); +static void testWriteReadTableArrayWithComments (void); static void testWriteReadSimpleTableInTableArray (void...
Use proper extension on the avx512 testcase filename The need to call it .tmp existed only when it was generated by a tmpfile call, and the "-x c" option to tell the compiler it is actually a C source is not universally supported (this broke the test with clang-cl at least)
@@ -109,10 +109,10 @@ else() endif() if (X86_64 OR X86) - file(WRITE ${PROJECT_BINARY_DIR}/avx512.tmp "#include <immintrin.h>\n\nint main(void){ __asm__ volatile(\"vbroadcastss -4 * 4(%rsi), %zmm2\"); }") -execute_process(COMMAND ${CMAKE_C_COMPILER} -march=skylake-avx512 -c -v -o ${PROJECT_BINARY_DIR}/avx512.o -x c ${P...
rtdl: suppress noisy logs in dlapi_*
static constexpr bool logEntryExit = false; static constexpr bool logStartup = false; +static constexpr bool logDlCalls = false; #ifndef MLIBC_STATIC_BUILD extern HIDDEN void *_GLOBAL_OFFSET_TABLE_[]; @@ -327,7 +328,7 @@ void *__dlapi_open(const char *file, int local) { // TODO: Thread-safety! auto rts = rtsCounter++; ...
Restore the display of options with 'openssl version -a'
@@ -105,7 +105,8 @@ opthelp: dirty = version = 1; break; case OPT_A: - seed = cflags = version = date = platform = dir = engdir = 1; + seed = options = cflags = version = date = platform = dir = engdir + = 1; break; } }
missed an entry in cnmc/units
# Automatically generated by ./create_def.pl, do not edit -#2 metre dewpoint temperature -'K' = { - discipline = 0 ; - parameterCategory = 0 ; - parameterNumber = 6 ; - typeOfFirstFixedSurface = 103 ; - scaledValueOfFirstFixedSurface = 2 ; - scaleFactorOfFirstFixedSurface = 0 ; - } -#2 metre dewpoint temperature -'K' =...
fix a comment in t/Util.pm
@@ -598,7 +598,7 @@ package H2ologTracer { kill("TERM", $tracer_pid) or warn("failed to kill h2olog[$tracer_pid]: $!"); } else { - Test::More::diag($_) while <$errfh>; # the case when BPF program doesn't compile + Test::More::diag($_) while <$errfh>; # in case h2olog shows error messages, e.g. BPF program doesn't compi...
ctype: fix example
@@ -31,32 +31,32 @@ be of any non-zero length, `wchar` must have exactly length 1. ```sh #Mount the plugin -sudo kdb mount typetest.dump user/tests/type dump type +sudo kdb mount typetest.dump user/tests/ctype dump ctype #Store a character value -kdb set user/tests/type/key a +kdb set user/tests/ctype/key a #Only allow...
h2olog: remove unnecessary function call
@@ -84,16 +84,14 @@ int trace_send_resp(struct pt_regs *ctx) { } """ -def print_req_line(line): +def handle_req_line(cpu, data, size): + line = b["rxbuf"].event(data) if line.http_version: v = "HTTP/%d.%d" % (line.http_version / 256, line.http_version % 256) print("%u %u RxProtocol %s" % (line.conn_id, line.req_id, v))...
driver/temp_sensor/adt7481.h: Format with clang-format BRANCH=none TEST=none
#define ADT7481_CONV_CHAN_SEL_REMOTE2 (3 << 4) #define ADT7481_CONV_AVERAGING_L BIT(7) - /* Status1 register bits */ #define ADT7481_STATUS1_LOCAL_THERM_ALARM BIT(0) #define ADT7481_STATUS1_REMOTE1_THERM_ALARM BIT(1) #define ADT7481_CONSEC_EN_SDA_TIMEOUT BIT(6) #define ADT7481_CONSEC_MASK_LOCAL_ALERT BIT(7) - /* Limits...
s5j/sflash: do not clear already cleared s5j_sflash_disable_wp() is trying to clear a bit that is already cleared.
@@ -129,9 +129,6 @@ static void s5j_sflash_disable_wp(void) sfcon = getreg32(rSF_CON); } while (sfcon & (1 << 31)); - sfcon = getreg32(rSF_CON) & ~(1 << 31); - putreg32(sfcon, rSF_CON); - sfcon = getreg32(rSF_CON) | (1 << 31); putreg32(sfcon, rSF_CON); }
Don't hang when a test fails.
++ expect-ford-empty |= [ford-gate=_ford-gate ship=@p] ^- tang + :: =/ ford *ford-gate - %- expect-eq !> - :- *ford-state:ford =/ state (~(got by state-by-ship.ax.+>+<.ford) ship) - state(cache cache:*ford-state:ford) + =. compiler-cache.state compiler-cache:*ford-state:ford + :: + ?: =(*ford-state:ford state) + ~ + ::...
CullWorker updates, better handling of poles
#include "utils/Log.h" #include "utils/ThreadUtils.h" +#include <algorithm> + namespace carto { CullWorker::CullWorker() : @@ -158,6 +160,30 @@ namespace carto { } projectionSurface->tesselateSegment(mapPoses[i], mapPoses[(i + 1) % 4], envelopePoses); } + + // Check for X coordinate wrapping. Do quick fix of the poles....
use atomic load for segment map
@@ -1392,7 +1392,7 @@ static void mi_segment_map_allocated_at(const mi_segment_t* segment) { size_t index = mi_segment_map_index_of(segment, &bitidx); mi_assert_internal(index < MI_SEGMENT_MAP_WSIZE); if (index==0) return; - uintptr_t mask = mi_segment_map[index]; + uintptr_t mask = mi_atomic_load_relaxed(&mi_segment_m...
witherspoon: fix using integer as NULL sparse warning platforms/astbmc/witherspoon.c:557:28: warning: Using plain integer as NULL pointer
@@ -555,7 +555,7 @@ static void witherspoon_finalise_dt(bool is_reboot) * SCL/SDA don't return to the idle state fast enough. Disable * the port to squash the errors. */ - for (c = next_chip(0); c; c = next_chip(c)) { + for (c = next_chip(NULL); c; c = next_chip(c)) { bool detected = false; int i;
Coding: Extend usage section for Prettier
@@ -412,7 +412,19 @@ npm install --global prettier@1.17.1 ##### Usage -If you want, you can format all Markdown files in the repository using the script [`reformat-markdown`](../scripts/reformat-markdown). +You can format all Markdown files in the repository using the script [`reformat-markdown`](../scripts/reformat-ma...
disables some overly-restrictive json response parsing
?> ?=([%1 *] der) =/ aut=auth (~(got by aut.der) i) ?> ?=([%1 *] aut) - =/ bod=[typ=@t sas=@t url=purl tok=@t] - (challenge:grab (need (de-json:html q:(need r.rep)))) - ?> ?=(%pending sas.bod) + :: XX 204 assuming pending? + :: =/ bod=[typ=@t sas=@t url=purl tok=@t] + :: (challenge:grab (need (de-json:html q:(need r.re...
Fix SceRtc syscall argument
@@ -265,20 +265,22 @@ int _sceRtcConvertUtcToLocalTime(const SceRtcTick *utc, SceRtcTick *localtime); * @param[out] datetime - The datetime string buffer * @param[in] utc - The UTC time tick pointer * @param[in] offset - A timezone offset. this value have to minute value + * @param[in] a4 - The Syscall validity buffer ...
pbdrv/ev3dev: correctly check whether a motor is able to coast This check sometimes incorrectly passed because it defaulted to trying to coast motor0. this fixes
@@ -18,7 +18,6 @@ typedef struct _motor_file_t { pbio_iodev_type_id_t id; bool coasting; int dir_number; - bool files_open; FILE *f_encoder_count; FILE *f_encoder_rate; FILE *f_duty; @@ -26,7 +25,7 @@ typedef struct _motor_file_t { motor_file_t motor_files[] = { [PORT_TO_IDX(PBDRV_CONFIG_FIRST_MOTOR_PORT) ... PORT_TO_I...
Edited the Enclosed by line
@@ -7,7 +7,7 @@ comment: "Hi there. </br> In this regard, please take note that: </br> - read the template thoroughly</br> - all given header lines (starting with ###) **must not be deleted** </br> - - everything enclosed by <!-- --> is intended to give you guidance and should be replaced by your input specific to the ...
Add debugging output for when a clay ford build fails.
|= row=build-result:ford ^- (unit [cage cage]) :: + ?: ?=([%error *] row) + ~& [%clay-whole-build-failed message.row] + ~ + ?: ?=([%success [%error *] *] row) + ~& [%clay-first-failure message.head.row] + ~ + ?: ?=([%success [%success *] [%error *]] row) + ~& [%clay-second-failure message.tail.row] + ~ ?. ?=([%success ...
Fix button maps schema validation, missing LIDL in on/off commands
"enum": [ "ADD_SCENE", "VIEW_SCENE", "REMOVE_SCENE", "STORE_SCENE", "RECALL_SCENE", "IKEA_STEP_CT", "IKEA_MOVE_CT", "IKEA_STOP_CT" ] }, "onoff-commands": { - "enum": [ "ATTRIBUTE_REPORT", "OFF", "ON", "TOGGLE", "OFF_WITH_EFFECT", "ON_WITH_TIMED_OFF" ] + "enum": [ "ATTRIBUTE_REPORT", "OFF", "ON", "TOGGLE", "OFF_WITH_EFF...
ppc still needs gcc-7 for cuda compilations
@@ -99,13 +99,8 @@ function getgxx7orless(){ echo $_loc } -if [ "$AOMP_PROC" == "ppc64le" ] ; then - GCCLOC=`which gcc-8` - GXXLOC=`which g++-8` -else GCCLOC=$(getgcc7orless) GXXLOC=$(getgxx7orless) -fi if [ "$GCCLOC" == "" ] ; then echo "ERROR: NO ADEQUATE gcc" echo " Please install gcc-5 or gcc-7"
Avoid creating spurious non-suffixed c/zgemm_kernels Plain cgemm_kernel and zgemm_kernel are not used anywhere, only cgemm_kernel_b etc. Needlessly building them (without any define like NN, CN, etc.) just happened to work on most platforms, but not on arm64. See
@@ -125,10 +125,13 @@ function (build_core TARGET_CORE KDIR TSUFFIX KERNEL_DEFINITIONS) set(USE_TRMM true) endif () - foreach (float_type ${FLOAT_TYPES}) + foreach (float_type SINGLE DOUBLE) string(SUBSTRING ${float_type} 0 1 float_char) GenerateNamedObjects("${KERNELDIR}/${${float_char}GEMMKERNEL}" "" "gemm_kernel" fa...
Add read/write APIs to testcase driver Add read/write APIs to testcase driver so that UTC apps can open /dev/testcase to pass ioctls
****************************************************************************/ static int testdrv_ioctl(FAR struct file *filep, int cmd, unsigned long arg); - +static ssize_t testdrv_read(FAR struct file *filep, FAR char *buffer, size_t len); +static ssize_t testdrv_write(FAR struct file *filep, FAR const char *buffer, ...
Completions: Check whole `kdb` command for value
# -- Functions ----------------------------------------------------------------------------------------------------------------------------- function __input_includes -d 'Check if the current command buffer contains one of the given values' - for input in (commandline -opc) + for input in (commandline -op) if contains ...
quic: render missing attributes
@@ -519,6 +519,14 @@ def handle_quic_event(cpu, data, size): rv["token_preview"] = binascii.hexlify(rv["token_preview"]) elif line.type == "new_token_acked": rv["token_generation"] = getattr(line, "token_generation") + elif line.type == "streams_blocked_send": + for k in ["limit", "is_unidirectional"]: + rv[k] = getatt...
ci: ignore partition nearly full warning
@@ -14,3 +14,4 @@ crosstool_version_check\.cmake CryptographyDeprecationWarning Warning: \d+/\d+ app partitions are too small for binary CMake Deprecation Warning at main/lib/tinyxml2/CMakeLists\.txt:11 \(cmake_policy\) +The smallest .+ partition is nearly full \(\d+% free space left\)!
netutils/dhcpd: minor patch for handling exception cases This commit is the patch to handling exception cases - when abnormal interface name is coming from applications, dhcpd should not run - dhcpd_run always return OK, it is not good to handle operation of dhcpd in application
@@ -1538,7 +1538,7 @@ int dhcpd_run(void *arg) int sockfd; int nbytes; #if DHCPD_SELECT - int ret; + int ret = OK; fd_set sockfd_set; #endif ndbg("Started on %s\n", DHCPD_IFNAME); @@ -1547,6 +1547,14 @@ int dhcpd_run(void *arg) memset(&g_state, 0, sizeof(struct dhcpd_state_s)); + /* Initialize netif address (ip address...
Fix Android build (add additional target_link_libraries for GLES3)
@@ -574,7 +574,7 @@ elseif(APPLE) elseif(EMSCRIPTEN) target_sources(lovr PRIVATE src/platform/web.c) elseif(ANDROID) - target_link_libraries(lovr log EGL) + target_link_libraries(lovr log EGL GLESv3) target_sourceS(lovr PRIVATE src/platform/linux.c src/platform/android.c src/platform/print_override.c) elseif(UNIX) targ...
Add CIPSTO command for server to enable timeout on server connections
@@ -1249,14 +1249,27 @@ espi_process_sub_cmd(esp_msg_t* msg, uint8_t is_ok, uint8_t is_error, uint8_t is /* * Are we enabling server mode for some reason? */ - if (CMD_IS_DEF(ESP_CMD_TCPIP_CIPSERVER) && msg->msg.tcpip_server.port) { + if (CMD_IS_DEF(ESP_CMD_TCPIP_CIPSERVER)) { + if (msg->msg.tcpip_server.en) { if (CMD_...
Add define for vaq strength parameter
@@ -1215,6 +1215,11 @@ static double pixel_var(kvz_pixel * const arr, const uint32_t len) { return var; } +// Vaq strength +#ifndef VAQ_STRENGTH +# define VAQ_STRENGTH 1.5 +#endif + static void encoder_state_init_new_frame(encoder_state_t * const state, kvz_picture* frame) { assert(state->type == ENCODER_STATE_TYPE_MAI...
vere: manage memory properly in _fore_import
@@ -22,6 +22,17 @@ _fore_inject_bail(u3_ovum* egg_u, u3_noun lud) u3_ovum_free(egg_u); } +/* _fore_import_bail(): handle failure on arbitrary injection. +*/ +static void +_fore_import_bail(u3_ovum* egg_u, u3_noun lud) +{ + u3_auto_bail_slog(egg_u, lud); + u3l_log("pier: import failed\n"); + + u3_ovum_free(egg_u); +} + ...
publish: vertically align 'edit' and 'delete'
@@ -51,12 +51,12 @@ export function Note(props: NoteProps & RouteComponentProps) { const editUrl = props.location.pathname + "/edit"; if (`~${window.ship}` === note?.author) { editPost = ( - <Box display="inline-block"> + <Box display="inline-block" verticalAlign='middle'> <Link to={editUrl}> - <Text color="green">Edit...
Added ability to quit channel from rver
:: %unsubscribe: unsubscribes from an application path :: [%unsubscribe request-id=@ud subscription-id=@ud] + :: %delete: kills a channel + :: + [%delete ~] == :: channel-timeout: the delay before a channel should be reaped :: %. item %+ pe %unsubscribe (ot id+ni subscription+ni ~) + ?: =('delete' u.maybe-key) + `[%del...
Added new option to canonize ast for UDF in test framework and tests for yson optimization.
@@ -873,8 +873,9 @@ module GTEST: BASE_PROGRAM { ### Documentation: https://wiki.yandex-team.ru/yql/lib/#yqludftest module YQL_UDF_TEST: PYTEST { PEERDIR(yql/library/udf_test) - DEPENDS(yql/tools/yqlrun) + DEPENDS(yql/tools/astdiff) DEPENDS(yql/tools/udf_resolver) + DEPENDS(yql/tools/yqlrun) DATA(arcadia/yql/mount) }
Fix copying commands retaining the "> "
@@ -73,7 +73,13 @@ void Overlay::DrawImgui(IDXGISwapChain3* apSwapChain) const auto result = ImGui::ListBoxHeader("", listboxSize); for (auto& item : m_outputLines) if (ImGui::Selectable(item.c_str())) - std::strncpy(command, item.c_str(), sizeof(command) - 1); + { + auto str = item; + if (item[0] == '>' && item[1] == ...
Expose generator in shared library Was failing linking to `*.so` library
@@ -28,7 +28,7 @@ typedef struct { /** * Static constant generator 'h' maintained for historical reasons. */ -extern const secp256k1_generator *secp256k1_generator_h; +SECP256K1_API extern const secp256k1_generator *secp256k1_generator_h; /** Parse a 33-byte commitment into a commitment object. *
sdl/events: add SDL_DisplayEvent for 2.0.9
@@ -4,6 +4,10 @@ package sdl #include "sdl_wrapper.h" #include "events.h" +#if !SDL_VERSION_ATLEAST(2,0,9) +#define SDL_DISPLAYEVENT (0x150) +#endif + #if !SDL_VERSION_ATLEAST(2,0,2) #define SDL_RENDER_TARGETS_RESET (0x2000) #endif @@ -117,6 +121,9 @@ const ( APP_WILLENTERFOREGROUND = C.SDL_APP_WILLENTERFOREGROUND // a...
Add support for locking/unlocking normals for polygons This is set using the "maya_locked_normal" int attribute.
@@ -1380,6 +1380,38 @@ OutputGeometryPart::computeMesh( } meshFn.setFaceVertexNormals(normals, faceList, polygonConnects); + + if(!HAPI_FAIL(hapiGetVertexAttribute( + myNodeId, myPartId, + "maya_locked_normal", + attrInfo, + intArray + ))) + { + Util::reverseWindingOrder(intArray, polygonCounts); + + MIntArray unlockFa...
lv_btnm: 0. byte (width dsc) 1. byte: hidden if \177 (0x7F)
@@ -416,7 +416,12 @@ static bool lv_btnm_design(lv_obj_t * btnm, const area_t * mask, lv_design_mode_ uint16_t btn_i = 0; uint16_t txt_i = 0; - for(btn_i = 0; btn_i < ext->btn_cnt; btn_i ++) { + for(btn_i = 0; btn_i < ext->btn_cnt; btn_i ++, txt_i ++) { + /*Search the next valid text in the map*/ + while(strcmp(ext->ma...
put ALFA AWUS036ACH to the end of the list, because it doesn' work out of the box on a default kernel - a third party driver is mandatory
@@ -137,7 +137,6 @@ This list is for information purposes only and should not be regarded as a bindi | TP-LINK Archer T2UH | ID 148f:761a Ralink Technology, Corp. MT7610U ("Archer T2U" 2.4G+5G WLAN Adapter) | | ASUS USB-AC51 | ID 0b05:17d1 ASUSTek Computer, Inc. AC51 802.11a/b/g/n/ac Wireless Adapter [Mediatek MT7610U]...
framework/st_things : Resolves issues when svr db is missing If easysetup is not complete and there is no svrdb (initial) initialize fail Return 0 should not occur regardless of whether svrdb is present or not. Therefore, if svrdb is present, it is erased, and if not exist, logic that fails is normal.
@@ -276,11 +276,7 @@ int things_initialize_stack(const char *json_path, bool *easysetup_completed) if (es_state != ES_COMPLETE) { esm_save_easysetup_state(ES_NOT_COMPLETE); THINGS_LOG_D(THINGS_DEBUG, TAG, "delete svrdb"); - int ret = unlink(dm_get_svrdb_file_path()); - if (ret < 0) { - THINGS_LOG_D(THINGS_ERROR, TAG, "...
Add RAT reporting to build matrix
@@ -33,6 +33,15 @@ git: matrix: include: + # RAT Report + - os: linux + language: python + python: + - "3.5" + env: + - TEST=RAT + - DEBUG=1 + # newt build <targets> - os: linux env: @@ -120,22 +129,30 @@ matrix: before_install: - printenv - export GOPATH=$HOME/gopath - - go version + - if [ "${TEST}" != "RAT" ]; then ...
[mod_authn_gssapi] needs -lcom_err under Darwin
@@ -448,7 +448,7 @@ if test "x$use_krb5" = "xyes"; then AC_MSG_ERROR([gssapi_krb5 headers and/or libs where not found, install them or build with --without-krb5]) fi case $host_os in - *cygwin* ) KRB5_LIB="$KRB5_LIB -lcom_err";; + *darwin*|*cygwin* ) KRB5_LIB="$KRB5_LIB -lcom_err";; * ) ;; esac fi
[dpos] initialize pre-LIB by the last DB snapshot
@@ -530,7 +530,7 @@ func (bs *bootingStatus) loadLIB(get func([]byte) []byte) { } } -// reco restores the last LIB status by using the informations loaded from the +// init restores the last LIB status by using the informations loaded from the // DB. func (s *Status) init() { if s.initialized { @@ -547,6 +547,12 @@ fun...
cram: export TERM=dumb to prevent unfortunate coloring
@@ -32,6 +32,7 @@ set(ENV{CRITERION_SHORT_FILENAME} "1") set(ENV{CRITERION_JOBS} "1") set(ENV{CRITERION_DISABLE_TIME_MEASUREMENTS} "1") set(ENV{MSYS2_ARG_CONV_EXCL} "--filter=") +set(ENV{TERM} "dumb") if (WIN32) if (ENV{MINGW} STREQUAL "")
tap: remove the bridge configurations for TUN interface Type: fix
@@ -456,18 +456,19 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) args->rv = VNET_API_ERROR_NETLINK_ERROR; goto error; } - } if (args->host_bridge) { args->error = vnet_netlink_set_link_master (vif->ifindex, - (char *) args->host_bridge); + (char *) + args->host_bridge); if (args->error) { args->rv = ...
feat(docs): Provide current status of Displays
--- -title: OLED Displays -sidebar_label: OLED Displays +title: Displays +sidebar_label: Displays --- -TODO: Documentation on OLED displays. +Displays in ZMK are currently a proof of concept and official support is coming soon. + +:::info +Although ZMK-powered keyboards _are_ capable of utilizing OLED and ePaper displa...
[RPC] Bugfix for ListBlockMetadataStream
@@ -13,14 +13,13 @@ import ( "strings" "time" - "github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc" - "github.com/aergoio/aergo-actor/actor" "github.com/aergoio/aergo/config" "github.com/aergoio/aergo/message" "github.com/aergoio/aergo/pkg/component" "github.com/aergoio/aergo/types" aergorpc "github.com/aergoio/aerg...
Fix postgres_fdw calls of clauselist_selectivity() We missed it in PostgreSQL 12 merge.
@@ -2927,7 +2927,8 @@ estimate_path_cost_size(PlannerInfo *root, fpinfo->remote_conds, 0, JOIN_INNER, - NULL)); + NULL, + false)); /* Factor in the selectivity of the locally-checked quals */ rows = clamp_row_est(retrieved_rows * fpinfo->local_conds_sel); } @@ -5874,7 +5875,8 @@ add_foreign_grouping_paths(PlannerInfo *...
Update uinject.c renaming overlapping function with coap causing the simulator to fail
@@ -33,7 +33,7 @@ static const uint8_t uinject_dst_addr[] = { //=========================== prototypes ====================================== -void _sock_handler(sock_udp_t *sock, sock_async_flags_t type, void *arg); +void uinject_sock_handler(sock_udp_t *sock, sock_async_flags_t type, void *arg); void _uinject_timer_c...
Fix Luos_list
@@ -34,8 +34,9 @@ typedef enum typedef enum { // Common register for all services - GET_CMD = LUOS_LAST_RESERVED_CMD, // asks a service to publish its data - SET_CMD, // set some undefined data + UNKNOW = LUOS_LAST_RESERVED_CMD, // set or get some undefined data (change size of msg to set or get) + GET_CMD = UNKNOW, //...
VERSION bump to version 2.1.67
@@ -64,7 +64,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 2) set(SYSREPO_MINOR_VERSION 1) -set(SYSREPO_MICRO_VERSION 66) +set(SYSREPO_MICRO_VERSION 67) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
Check foo is choosy in "choose foo = etc"
@@ -1145,6 +1145,8 @@ func (q *checker) tcheckChoose(n *a.Choose) error { f := q.c.funcs[fQQID] if f == nil { return fmt.Errorf("check: no function named %q", fQQID.Str(q.tm)) + } else if !f.Choosy() { + return fmt.Errorf("check: choose assignee %q is not choosy", fQQID[2].Str(q.tm)) } for _, o := range n.Args() { o :=...
Make meson build file do cross compilation.
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -project('janet', 'c', default_options : ['c_std=c99']) +project('janet', 'c', default_options : ['c_std=c99'], version : '1.0.0') # Global settings janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'jane...
io-libs/netcdf: bump version to v4.6.2
@@ -23,7 +23,7 @@ Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} Summary: C Libraries for the Unidata network Common Data Form License: NetCDF Group: %{PROJ_NAME}/io-libs -Version: 4.6.1 +Version: 4.6.2 Release: 1%{?dist} Url: http://www.unidata.ucar.edu/software/netcdf/ Source0: https://github.com/Unidat...
[chain] Verify named account tx when chain execute
@@ -13,6 +13,7 @@ import ( "math" "math/big" + "github.com/aergoio/aergo/account/key" "github.com/aergoio/aergo/consensus" "github.com/aergoio/aergo/contract" "github.com/aergoio/aergo/contract/name" @@ -628,6 +629,16 @@ func executeTx(bs *state.BlockState, tx *types.Tx, blockNo uint64, ts int64, pre txBody := tx.GetBo...
Fix handling of uname output on AIX
# Checking cross compile $hostos = `uname -s | sed -e s/\-.*//`; chop($hostos); $hostarch = `uname -m | sed -e s/i.86/x86/`;chop($hostarch); +$hostarch = `uname -p` if ($hostos eq "AIX"); $hostarch = "x86_64" if ($hostarch eq "amd64"); $hostarch = "arm" if ($hostarch =~ /^arm.*/); $hostarch = "arm64" if ($hostarch eq "...
Workaround loss timer cancellation due to amplification limit
@@ -7188,6 +7188,25 @@ int ngtcp2_conn_read_handshake(ngtcp2_conn *conn, const ngtcp2_path *path, conn_discard_initial_state(conn); } + /* If server hits amplification limit, it cancels loss detection + timer. If server receives a packet from client, the limit is + increased and server can send more. If server has + ac...
17.07 Release Note
# Release Notes {#release_notes} +* @subpage release_notes_1707 * @subpage release_notes_1704 * @subpage release_notes_17011 * @subpage release_notes_1701 * @subpage release_notes_1609 * @subpage release_notes_1606 +@page release_notes_1707 Release notes for VPP 17.07 + +More than 400 commits since the 1704 release. + ...
don't write 0 bytes via SSL_write (as behavior is undefined in OpenSSL)
@@ -296,7 +296,7 @@ static int dill_tls_bsendl(struct dill_bsock_vfs *bvfs, while(1) { uint8_t *base = it->iol_base; size_t len = it->iol_len; - while(1) { + while(len > 0) { ERR_clear_error(); int rc = SSL_write(self->ssl, base, len); if(dill_tls_followup(self, rc, deadline)) { @@ -304,7 +304,6 @@ static int dill_tls_...
build: rebuild list of test files in meson.build
@@ -102,13 +102,17 @@ if get_option('build_tests') == true test_src = files( 'test/runner.c', - 'test/src/test_euler.c', 'test/src/test_bezier.c', 'test/src/test_cam.c', - 'test/src/test_struct.c', + 'test/src/test_cam_lh_no.c', + 'test/src/test_cam_lh_zo.c', + 'test/src/test_cam_rh_no.c', + 'test/src/test_cam_rh_zo.c'...
Improve tags docs
@@ -50,15 +50,19 @@ _CBOR_NODISCARD CBOR_EXPORT uint64_t cbor_tag_value(const cbor_item_t *item); /** Set the tagged item * * @param item A tag - * @param tagged_item[incref] The item to tag + * @param tagged_item The item to tag. Its reference count will be be increased + * by one. */ CBOR_EXPORT void cbor_tag_set_ite...
doc: fix macro name OSSL_STORE_INFO_X509 doesn't exist. It should be OSSL_STORE_INFO_CERT. Fixes
@@ -58,7 +58,7 @@ other encoding is undefined. * here just one example */ switch (OSSL_STORE_INFO_get_type(info)) { - case OSSL_STORE_INFO_X509: + case OSSL_STORE_INFO_CERT: /* Print the X.509 certificate text */ X509_print_fp(stdout, OSSL_STORE_INFO_get0_CERT(info)); /* Print the X.509 certificate PEM output */
RTX5: removed compiler warning when Timers are not used
@@ -225,7 +225,7 @@ static const osMessageQueueAttr_t os_timer_mq_attr = { #else extern void osRtxTimerThread (void *argument); - void osRtxTimerThread (void *argument) {} + void osRtxTimerThread (void *argument) { (void)argument; } #endif // ((OS_TIMER_THREAD_STACK_SIZE != 0) && (OS_TIMER_CB_QUEUE != 0))
Fix Pass:setBlendMode/setMaterial;
@@ -173,7 +173,7 @@ static int l_lovrPassSetAlphaToCoverage(lua_State* L) { static int l_lovrPassSetBlendMode(lua_State* L) { Pass* pass = luax_checktype(L, 1, Pass); - BlendMode mode = lua_isnoneornil(L, 2) ? BLEND_NONE : luax_checkenum(L, 1, BlendMode, NULL); + BlendMode mode = lua_isnoneornil(L, 2) ? BLEND_NONE : lu...
Don't start TLP/RTO before handshake finishes
@@ -6065,7 +6065,8 @@ void ngtcp2_conn_set_loss_detection_timer(ngtcp2_conn *conn) { } it = ngtcp2_rtb_head(&pktns->rtb); - if (ngtcp2_ksl_it_end(&it)) { + if (ngtcp2_ksl_it_end(&it) || + !(conn->flags & NGTCP2_CONN_FLAG_HANDSHAKE_COMPLETED)) { if (rcs->loss_detection_timer) { ngtcp2_log_info(&conn->log, NGTCP2_LOG_EVE...
Fix travis error when executing openssl config script This is probably perl which comes with precise is too old. Upgrading travis build to use trusty fixes the issue.
+dist: trusty language: cpp compiler: - clang - gcc -sudo: false +sudo: required addons: apt: sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - - george-edison55-precise-backports packages: - g++-5 - clang-3.8
Force tinyara_head.bin creation for Artik05x boards
@@ -15,12 +15,14 @@ choice config ARCH_BOARD_ARTIK053 bool "Samsung ARTIK-053 Starter Kit" depends on ARCH_CHIP_S5JT200 + select SAMSUNG_NS2 ---help--- Samsung ARTIK-053 Starter Kit based on S5JT200 IoT WiFi MCU config ARCH_BOARD_SIDK_S5JT200 bool "Samsung S5JT200 sidk board" depends on ARCH_CHIP_S5JT200 + select SAMSU...
process: fix install permission of test script
@@ -9,7 +9,7 @@ add_plugin ( configure_file ("${CMAKE_CURRENT_SOURCE_DIR}/testapp.sh" "${CMAKE_BINARY_DIR}/bin/process-testapp.sh" COPYONLY) install ( - FILES "${CMAKE_BINARY_DIR}/bin/process-testapp.sh" + PROGRAMS "${CMAKE_BINARY_DIR}/bin/process-testapp.sh" DESTINATION "${TARGET_TOOL_EXEC_FOLDER}" COMPONENT elektra-t...
Minor enhancement of a comment.
@@ -231,7 +231,7 @@ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES # Architecture of target platform. Supported values are: 'x86' and 'x86_64'. # # TINYSPLINE_PLATFORM -# Platform specific identifier, e. g. 'linux-x86_64'. +# Platform (target platform) specific identifier, e. g. 'linux-x86_64'. #######...
peview: Add hex for timestamp on Win10
@@ -545,10 +545,26 @@ VOID PvpSetPeImageTimeStamp( RtlSecondsSince1970ToTime(PvMappedImage.NtHeaders->FileHeader.TimeDateStamp, &time); PhLargeIntegerToLocalSystemTime(&systemTime, &time); + if (WindowsVersion >= WINDOWS_10) + { + // "the timestamp to be a hash of the resulting binary" + // https://devblogs.microsoft.c...
Increase the wait time for ppc jobs again
@@ -30,7 +30,7 @@ matrix: before_script: &common-before - COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32" script: - - travis_wait 40 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE + - travis_wait 50 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE - make -C test $COMMON_FLAGS $BTYPE - make -C ctest $COMMON_FLAGS $BTYPE - make...
fatfs: Fix undefined ssize member of FATFS struct
@@ -224,13 +224,17 @@ esp_err_t esp_vfs_fat_info(const char* base_path, } uint64_t total_sectors = ((uint64_t)(fs->n_fatent - 2)) * fs->csize; uint64_t free_sectors = ((uint64_t)free_clusters) * fs->csize; + WORD sector_size = FF_MIN_SS; // 512 +#if FF_MAX_SS != FF_MIN_SS + sector_size = fs->ssize; +#endif // Assuming ...
Normalize _bt_findsplitloc() argument names. Oversight in commit
@@ -1050,7 +1050,7 @@ extern Buffer _bt_getstackbuf(Relation rel, BTStack stack, BlockNumber child); /* * prototypes for functions in nbtsplitloc.c */ -extern OffsetNumber _bt_findsplitloc(Relation rel, Page page, +extern OffsetNumber _bt_findsplitloc(Relation rel, Page origpage, OffsetNumber newitemoff, Size newitemsz...
You can declare things without attributes.
@@ -191,7 +191,7 @@ TABLE OF CONTENTS: 3.3. Declarations: decl: attrs ("var" | "const" | "generic") decllist - attrs: ("extern" | "pkglocal" | "$noret")+ + attrs: ("extern" | "pkglocal" | "$noret")* decllist: declbody ("," declbody)* declbody: declcore ["=" expr] declcore: name [":" type]
Refactor macro-spanning if in sha256.c
@@ -665,9 +665,11 @@ int mbedtls_sha256_finish( mbedtls_sha256_context *ctx, MBEDTLS_PUT_UINT32_BE( ctx->state[5], output, 20 ); MBEDTLS_PUT_UINT32_BE( ctx->state[6], output, 24 ); + int truncated = 0; #if defined(MBEDTLS_SHA224_C) - if( ctx->is224 == 0 ) + truncated = ctx->is224; #endif + if( !truncated ) MBEDTLS_PUT_...
Remove support for polling for kernel routes. Both the Linux and BSD backends have supported async notifications for a long time.
@@ -490,6 +490,12 @@ main(int argc, char **argv) goto fail; } + rc = kernel_setup_socket(1); + if(rc < 0 || kernel_socket < 0) { + perror("Couldn't setup kernel socket"); + goto fail; + } + if(local_server_port >= 0) { local_server_socket = tcp_server_socket(local_server_port, 1); if(local_server_socket < 0) { @@ -585,...