message
stringlengths
6
474
diff
stringlengths
8
5.22k
Need to fix wifi test before re-enabling.
@@ -46,19 +46,6 @@ pipeline { } } } - stage('Test Dev Build (WIFI)') { - steps { - lock(resource: "Pandas", inversePrecedence: true, quantity: 1){ - timeout(time: 60, unit: 'MINUTES') { - script { - sh "docker run --name ${env.DOCKER_NAME} --privileged --volume /dev/bus/usb:/dev/bus/usb --volume /var/run/dbus:/var/run/...
Capitals anyone?
@@ -763,7 +763,7 @@ static void on_rack_request(http_s *h) { static void on_rack_upgrade(http_s *h, char *proto, size_t len) { iodine_http_request_handle_s handle = (iodine_http_request_handle_s){.h = h}; - if (len == 9 && proto[1] == 'e') { + if (len == 9 && (proto[1] == 'e' || proto[1] == 'E')) { handle.upgrade = IOD...
Fix test for reference basestation
@@ -358,13 +358,21 @@ static int setup_optimizer(struct async_optimizer_user *user, survive_optimizer SurvivePose lhs[NUM_GEN2_LIGHTHOUSES] = {0}; if (canPossiblySolveLHS) { if (!needsInitialEstimate || general_optimizer_data_record_current_lhs(&d->opt, pdl, lhs)) { + uint32_t reference_basestation = survive_configi(ct...
made sure parser is freed
@@ -443,12 +443,10 @@ static void ccl_cosmology_compute_power_class(ccl_cosmology * cosmo, int * statu if (*status != CCL_ERROR_CLASS) ccl_run_class(cosmo, &fc,&pr,&ba,&th,&pt,&tr,&pm,&sp,&nl,&le,&op,init_arr,status); - if (*status == 0) { if (parser_free(&fc)== _FAILURE_) { *status = CCL_ERROR_CLASS; ccl_cosmology_set...
Fixing some values.
@@ -224,7 +224,7 @@ consume_partial: if (name[name_len - 1] == '"') --name_len; } else if (start + 9 < end && !strncasecmp(start, "filename", 8)) { - uint8_t encoded; + uint8_t encoded = 0; start += 8; if (start[0] == '*') { encoded = 1; @@ -254,9 +254,12 @@ consume_partial: } if (filename[filename_len - 1] == '"') --f...
rune/libenclave/pal: fix the PAL version API description error in spec_v2.md In enclave runtime PAL v2, the API of PAL version is named as pal_get_version rather than pal_version.
# Enclave Runtime PAL API Specification v2 Enclave Runtime PAL API defines a common interface to interact between `rune` and enclave runtime. -## 1.pal_version() +## 1.pal_get_version() ### Description Indicate PAL API version number implemented by runelet and enclave runtime; runelet is compatible with any enclave run...
Mention scrcpy Debian package in README
@@ -37,8 +37,11 @@ control it using keyboard and mouse. ### Linux -On Linux, you typically need to [build the app manually][BUILD]. Don't worry, -it's not that hard. +In Debian (_testing_ and _sid_ for now): + +``` +apt install scrcpy +``` A [Snap] package is available: [`scrcpy`][snap-link]. @@ -56,6 +59,10 @@ For Gen...
doc BUGFIX language name
@@ -175,7 +175,7 @@ If you are using `cmake` in you project, it is also possible to use the provided There are no bindings for other languages directly in this project but they are available separately. -* [RUST](https://github.com/rwestphal/yang2-rs/) +* [Rust](https://github.com/rwestphal/yang2-rs/) ## yanglint
pbio/drivebase: Use servo actuators. In order to support different stop types for drive bases, we shouldn't call dc motors directly, but set the actuation type according to the controller.
@@ -313,26 +313,16 @@ pbio_error_t pbio_drivebase_update(pbio_drivebase_t *db) { return PBIO_ERROR_INVALID_OP; } - // TODO: Use generic actuator with torque type. - // FIXME: There is a possible change of actuation at this point; so should pass through servo_actuate instead of actuating here - // It only works now beca...
ipmi-sel: use opal_booting() over poking at debug descriptor
@@ -504,8 +504,7 @@ static void sel_power(uint8_t power) switch (power) { case SOFT_OFF: prlog(PR_NOTICE, "Soft shutdown requested\n"); - if (!(debug_descriptor.state_flags & OPAL_BOOT_COMPLETE) && - platform.cec_power_down) { + if (opal_booting() && platform.cec_power_down) { prlog(PR_NOTICE, "Host not up, shutting do...
update build steps for esp32 for mac
First, clone recursively IoTivity-Lite which includes a port for the ESP32. ```bash -git clone --recursive https://gitlab.iotivity.org/iotivity/iotivity-lite.git +git clone --recursive https://github.com/iotivity/iotivity-lite.git ``` ## Build @@ -24,8 +24,6 @@ Jump to the [common steps](#common-steps) below. Jump to t...
allow unrestricted radio driver packet size for nullradio
#define NETSTACK_RADIO NETSTACK_CONF_RADIO #else /* NETSTACK_CONF_RADIO */ #define NETSTACK_RADIO nullradio_driver +/* for nullradio, allow unlimited packet size */ +#define nullradio_driver_max_payload_len ((unsigned short)-1) #endif /* NETSTACK_CONF_RADIO */ /* Framer selection. The framer is used by the MAC implemen...
config_map: initialize description
@@ -306,6 +306,7 @@ struct mk_list *flb_config_map_create(struct flb_config *config, new->set_property = m->set_property; new->offset = m->offset; new->value.mult = NULL; + new->desc = m->desc; mk_list_add(&new->_head, list); if (new->set_property == FLB_FALSE) {
Fix compile error with clang-6.0
@@ -54,13 +54,13 @@ int main() { /* initialize the CUnit test registry */ if (CUE_SUCCESS != CU_initialize_registry()) - return CU_get_error(); + return (int)CU_get_error(); /* add a suite to the registry */ pSuite = CU_add_suite("libngtcp2_TestSuite", init_suite1, clean_suite1); if (NULL == pSuite) { CU_cleanup_regist...
Fix coverity warning,
@@ -1340,6 +1340,9 @@ tap_connect_command_fn (vlib_main_t * vm, format_unformat_error, line_input); } + if (intfc_name == 0) + return clib_error_return (0, "interface name must be specified"); + memset (ap, 0, sizeof (*ap)); ap->intfc_name = intfc_name;
add const qualifier to tests that require it
@@ -94,7 +94,7 @@ set_global_address(void) #if RPL_WITH_STORING uint8_t should_blink = 1; static void -route_callback(int event, uip_ipaddr_t *route, uip_ipaddr_t *ipaddr, int num_routes) +route_callback(int event, const uip_ipaddr_t *route, const uip_ipaddr_t *ipaddr, int num_routes) { if(event == UIP_DS6_NOTIFICATION...
Build: Fix TestExt4Dxe build for Ia32 target
@@ -90,7 +90,7 @@ LLVMFuzzerTestOneInput ( EFI_STATUS Status; EXT4_PARTITION *Part; EFI_FILE_PROTOCOL *This; - UINT64 BufferSize; + UINTN BufferSize; VOID *Buffer; EFI_FILE_PROTOCOL *NewHandle; CHAR16 *FileName;
traj: Option for asymmetric trajectories
@@ -93,6 +93,7 @@ int main_traj(int argc, char* argv[]) int turns = 1; bool d3d = false; bool transverse = false; + bool asymTraj = false; float gdelays[2][3] = { { 0., 0., 0. }, @@ -115,6 +116,7 @@ int main_traj(int argc, char* argv[]) OPT_FLVEC3('Q', &gdelays[1], "delays", "(gradient delays: z, xz, yz)"), OPT_SET('O'...
Add docs for log module
+--- +layout: default +title: Log +nav_order: 16 +parent: Standard Library +--- + +# Log +{: .no_toc } + +## Table of contents +{: .no_toc .text-delta } + +1. TOC +{:toc} + +--- + +## Log + +To make use of the Log module an import is required. + +```cs +import Log; +``` + +### Constants + +| Constant | Description | +|...
[mechanics] Fix missing virtual destructor warning for BulletR.
@@ -39,6 +39,8 @@ public: double y_correction_B=0, double scaling=1); + virtual ~BulletR() {} + /* For users that may require extra information about contacts. */ SP::btCollisionObject btObject[2]; SP::btCollisionShape btShape[2];
py/objexcept: Use INT_FMT when printing errno value.
@@ -118,7 +118,7 @@ STATIC void mp_obj_exception_print(const mp_print_t *print, mp_obj_t o_in, mp_pr if (o->base.type == &mp_type_OSError && MP_OBJ_IS_SMALL_INT(o->args->items[0])) { qstr qst = mp_errno_to_str(o->args->items[0]); if (qst != MP_QSTR_NULL) { - mp_printf(print, "[Errno %d] %q", MP_OBJ_SMALL_INT_VALUE(o->a...
Fixed issue with tag cloud numbers
@@ -73,10 +73,10 @@ AjaxFranceLabs.TagCloudWidget = AjaxFranceLabs.AbstractWidget.extend({ }, update : function() { - this.total = 0; if (!this.manager.response.clusters) { return; } + this.total = parseInt(this.manager.response.responseHeader.params.rows, 10); var self = this; var data = this.assocTags(this.manager.re...
Minor comment format update.
@@ -2371,13 +2371,13 @@ typedef struct typedef struct entity { - e_spawn_type spawntype; // Type of spawn (level spawn, script spawn, ...)* - bool exists; // flag to determine if it is a valid entity. - bool deduct_ammo; // Check for ammo count? - e_projectile_prime projectile_prime; // If this entity is a projectile, ...
Fix partition_locking ICG test
@@ -448,7 +448,6 @@ delete from partlockt where i = 4; select * from locktest_master where coalesce not like 'gp_%' and coalesce not like 'pg_%'; coalesce | mode | locktype | node -------------------------+------------------+----------+-------- - partlockt | AccessShareLock | relation | master partlockt | ExclusiveLock...
extmod/uasyncio: Don't create a Loop instance in get_event_loop(). The event loop is (for now) just a singleton so make it so that Loop instances are not needed.
@@ -215,20 +215,20 @@ def run(coro): class Loop: - def create_task(self, coro): + def create_task(coro): return create_task(coro) - def run_forever(self): + def run_forever(): run_until_complete() # TODO should keep running until .stop() is called, even if there're no tasks left - def run_until_complete(self, aw): + de...
Proper bounding box filtering support for MapBoxOnlineGeocodingService
#include "components/Exceptions.h" #include "geocoding/MapBoxGeocodingProxy.h" #include "projections/Projection.h" +#include "projections/EPSG3857.h" +#include "utils/Const.h" #include "utils/GeneralUtils.h" #include "utils/NetworkUtils.h" #include "utils/Log.h" #include <map> +#include <cmath> #include <boost/lexical_...
remove extra S2N_API
@@ -343,7 +343,6 @@ S2N_API extern ssize_t s2n_client_hello_get_extension_length(struct s2n_client_hello *ch, s2n_tls_extension_type extension_type); S2N_API extern ssize_t s2n_client_hello_get_extension_by_id(struct s2n_client_hello *ch, s2n_tls_extension_type extension_type, uint8_t *out, uint32_t max_length); -S2N_A...
pbio/dcmotor: always coast during setup Make sure we always coast even if the id check fails, by putting coast first rather than last.
@@ -20,6 +20,12 @@ static pbio_error_t pbio_dcmotor_setup(pbio_dcmotor_t *dcmotor, pbio_port_t port pbio_error_t err; + // Coast the device + err = pbio_dcmotor_coast(dcmotor); + if (err != PBIO_SUCCESS) { + return err; + } + // Get device ID to ensure we are dealing with a supported device err = pbdrv_motor_get_id(por...
conf_def.c: Avoid calling strlen() in a loop
@@ -729,7 +729,9 @@ static BIO *process_include(char *include, OPENSSL_DIR_CTX **dirctx, static BIO *get_next_file(const char *path, OPENSSL_DIR_CTX **dirctx) { const char *filename; + size_t pathlen; + pathlen = strlen(path); while ((filename = OPENSSL_DIR_read(dirctx, path)) != NULL) { size_t namelen; @@ -742,7 +744,...
Add ReLAPACK option
@@ -24,6 +24,7 @@ option(BUILD_WITHOUT_LAPACK "Without LAPACK and LAPACKE (Only BLAS or CBLAS)" ON endif() option(BUILD_WITHOUT_CBLAS "Without CBLAS" OFF) option(DYNAMIC_ARCH "Build with DYNAMIC_ARCH" OFF) +option(BUILD_RELAPACK "Build with ReLAPACK (recursive LAPACK" OFF) ####### if(BUILD_WITHOUT_LAPACK) set(NO_LAPACK...
BUMP pymongocrypt 1.1.2.dev0
# See the License for the specific language governing permissions and # limitations under the License. -__version__ = '1.1.1' +__version__ = '1.1.2.dev0' _MIN_LIBMONGOCRYPT_VERSION = '1.2.0'
[Kernel] Fix the maxlen issue in rt_object_get_pointers
@@ -291,6 +291,8 @@ int rt_object_get_pointers(enum rt_object_class_type type, rt_object_t *pointers pointers[index] = object; index ++; + + if (index >= maxlen) break; } rt_hw_interrupt_enable(level);
Change TCODLine implementation Add tcod::BresenhamLine class and tcod::bresenham_line function.
#ifndef _TCOD_BRESENHAM_H #define _TCOD_BRESENHAM_H +#ifdef __cplusplus +#include <functional> +#include <vector> +#endif // __cplusplus + #include "portability.h" #ifdef __cplusplus @@ -80,7 +85,65 @@ TCODLIB_API bool TCOD_line_step_mt(int* __restrict xCur, int* __restrict yCur, T TCOD_DEPRECATED("Use TCOD_line instea...
out_flowcounter: set config_map flags
@@ -251,12 +251,12 @@ static int out_fcount_exit(void *data, struct flb_config* config) static struct flb_config_map config_map[] = { { FLB_CONFIG_MAP_STR, "unit", NULL, - FLB_FALSE, 0, + 0, FLB_FALSE, 0, NULL }, { FLB_CONFIG_MAP_BOOL, "event_based", "false", - FLB_TRUE, offsetof(struct flb_flowcounter, event_based), +...
also implement my_realloc
@@ -92,8 +92,8 @@ void my_free(picoquic_cnx_t *cnx, void *ptr) { * If an invalid pointer is provided, it returns NULL without changing anything. */ void *my_realloc(picoquic_cnx_t *cnx, void *ptr, unsigned int size) { - /* NOT IMPLEMENTED! */ - exit(-1); + my_free(cnx, ptr); + return my_malloc(cnx, size); } void init_m...
type error Verfying -> Verifying
@@ -471,7 +471,7 @@ int mtdpart_main(int argc, char *argv[]) * should on the device. */ - printf("Verfying media:\n"); + printf("Verifying media:\n"); fd = open("/dev/mtd2", O_RDONLY); if (fd < 0) {
Attempting to find boost interruption_point() in windows build.
#include "assets.h" #include "validation.h" +#include <boost/thread.hpp> + static const char ASSET_FLAG = 'A'; static const char ASSET_ADDRESS_QUANTITY_FLAG = 'B'; static const char MY_ASSET_FLAG = 'M';
build BUGFIX OpenSSL is needed even when only SSH transport is enabled
@@ -112,7 +112,7 @@ if(ENABLE_SSH) endif() # dependencies - openssl -if(ENABLE_TLS OR ENABLE_DNSSEC) +if(ENABLE_TLS OR ENABLE_DNSSEC OR ENABLE_SSH) find_package(OpenSSL REQUIRED) if (ENABLE_TLS) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DNC_ENABLED_TLS")
Cherry-pick: Use clock_gettime for measuring time Cherry picking changes from intel-afu repo for the use of clock_gettime in the fpga_dma_test.
@@ -92,8 +92,16 @@ void report_bandwidth(size_t size, double seconds) { printf("\rMeasured bandwidth = %lf Megabytes/sec\n", throughput); } +// return elapsed time +double getTime(struct timespec start, struct timespec end) { + uint64_t diff = 1000000000L * (end.tv_sec - start.tv_sec) + end.tv_nsec - start.tv_nsec; + r...
OcBootManagementLib: Make failed image loading a warning
@@ -1813,7 +1813,7 @@ OcLoadBootEntry ( InternalUnloadDmg (&DmgLoadContext); } } else { - DEBUG ((DEBUG_ERROR, "OCB: LoadImage failed - %r\n", Status)); + DEBUG ((DEBUG_WARN, "OCB: LoadImage failed - %r\n", Status)); } return Status;
I updated the list of contributors in the GUI. This resolves
<p align="center"><b><font size="6">Active Developers</font></b></p> <ul> -<li>Sean Ahern</li> <li>Kathleen Biagas</li> <li>Eric Brugger</li> <li>David Camp</li> <li>Hank Childs</li> -<li>Cameron Christensen</li> +<li>Kevin Griffin</li> <li>Cyrus Harrison</li> <li>Harinarayan Krishnan</li> -<li>Jeremy Meredith</li> +<l...
Remove unused tui hud field
@@ -417,7 +417,7 @@ void draw_hud(WINDOW* win, int win_y, int win_x, int height, int width, (int)ruler_spacing_x, (int)ruler_spacing_y, (int)tick_num, (int)bpm); print_meter(win, meter_level); wmove(win, win_y + 1, win_x); - wprintw(win, "%d,%d\t%d:%d\tcell\t", (int)ged_cursor->x, (int)ged_cursor->y, + wprintw(win, "%d...
userguide: document smart_borders
@@ -798,6 +798,27 @@ hide_edge_borders none|vertical|horizontal|both|smart|smart_no_gaps hide_edge_borders vertical ---------------------- +[[_smart_borders]] +=== Smart borders + +Smart borders will draw borders on windows only if there is more than one window +in a workspace. This feature can also be enabled only if ...
Homestar:LED:Power LED and Battery LED status amend TEST=make -j BOARD=homestar Verify build on EVT board BRANCH=Trogdo Tested-by: Wai-Hong Tam
@@ -83,24 +83,25 @@ static void board_led_set_battery(void) battery_ticks++; switch (charge_get_state()) { - case PWR_STATE_DISCHARGE: + case PWR_STATE_CHARGE: + case PWR_STATE_CHARGE_NEAR_FULL: if (chipset_in_state(CHIPSET_STATE_ON | CHIPSET_STATE_ANY_SUSPEND | CHIPSET_STATE_ANY_OFF)) { if (percent <= BATTERY_LEVEL_CR...
board/careena/board.c: Format with clang-format BRANCH=none TEST=none
@@ -30,41 +30,31 @@ const int hibernate_wake_pins_used = ARRAY_SIZE(hibernate_wake_pins); /* I2C port map. */ const struct i2c_port_t i2c_ports[] = { - { - .name = "power", + { .name = "power", .port = I2C_PORT_POWER, .kbps = 100, .scl = GPIO_I2C0_SCL, - .sda = GPIO_I2C0_SDA - }, - { - .name = "tcpc0", + .sda = GPIO_I2...
possible fix for ARM linux compilation
@@ -138,7 +138,6 @@ static inline size_t _mi_wsize_from_size(size_t size) { return (size + sizeof(uintptr_t) - 1) / sizeof(uintptr_t); } -//extern mi_decl_thread mi_heap_t* _mi_backing_heap; // thread local heap extern const mi_heap_t _mi_heap_empty; // read-only empty heap, initial value of the thread local default he...
Linux warning fixes
@@ -1165,7 +1165,7 @@ static int print_miner(FILE *out, int index, struct miner_pool_data *miner, int return miner->state == MINER_ACTIVE ? 1 : 0; } -int print_miners(FILE *out) +static int print_miners(FILE *out) { int count_active = print_miner(out, -1, &g_pool_miner, 1); @@ -1210,13 +1210,12 @@ static void print_con...
auth zone work, nicer debug output.
@@ -5141,11 +5141,11 @@ auth_xfer_transfer_http_callback(struct comm_point* c, void* arg, int err, log_assert(xfr->task_transfer); lock_basic_lock(&xfr->lock); env = xfr->task_transfer->env; - verbose(VERB_ALGO, "auth zone transfer http callback"); if(env->outnet->want_to_quit) { lock_basic_unlock(&xfr->lock); return 0...
Fix windows build warnings.
@@ -493,15 +493,15 @@ static void emit_bytes(Builder *b, uint32_t op, int32_t len, const uint8_t *byte /* For fixed arity rules of arities 1, 2, and 3 */ static void emit_1(Reserve r, uint32_t op, uint32_t arg) { - return emit_rule(r, op, 1, &arg); + emit_rule(r, op, 1, &arg); } static void emit_2(Reserve r, uint32_t o...
Configure: pass -no-integrated-as. Occasionally you have to pass -no-integrated-as to clang, but we consider any -no-option as no-option. Don't touch -no-integrated-as.
@@ -638,7 +638,9 @@ while (@argvcopy) { s/^([^=]*)/lc($1)/e; } - s /^-no-/no-/; # some people just can't read the instructions + + # some people just can't read the instructions, clang people have to... + s/^-no-(?!integrated-as)/no-/; # rewrite some options in "enable-..." form s /^-?-?shared$/enable-shared/;
swift highlight test
@@ -834,7 +834,7 @@ Basemaps apply the map background required for rendering data. Basemaps are requ </div> <div class="Carousel-item js-Tabpanes-item--lang js-Tabpanes-item--lang--kotlin"> - {% highlight kotlin %} + {% highlight swift %} mapView = MapView(this) setContentView(mapView)
fix red_bug_51 to return proper status
@@ -33,5 +33,10 @@ int main() std::cout << " wrong counts1 = " << counts1 << " should be 4!" << std::endl; if (counts2 != 4) std::cout << " wrong counts2 = " << counts2 << " should be 4!" << std::endl; + if (counts1 !=4 || counts2 != 4) { + std::cout << "Failed" << std::endl; + return 1; + } + return 0; }
Add more cc vers/id flag logic to build tool
@@ -152,6 +152,14 @@ cc_vers_is_gte() { fi } +cc_id_and_vers_gte() { + if [[ $cc_id == "$1" ]] && cc_vers_is_gte "$2"; then + return 0 + else + return 1 + fi +} + add() { if [[ -z "${1:-}" ]]; then script_error "At least one argument required for array add" @@ -162,6 +170,17 @@ add() { eval "$array_name+=($(printf "'%s...
Names and comments
@@ -826,16 +826,16 @@ struct websocket_multi_write { /* ... we need to have padding for pointer arithmatics... */ size_t count; size_t length; - uint8_t buffer[]; + uint8_t buffer[]; /* starts on border alignment */ }; -static void ws_defered_on_finish_fb(intptr_t fd, void *arg) { +static void ws_mw_defered_on_finish_f...
Add Missing Config for Libc Mqueue TC Adds missing Kconfig TC_KERNEL_LIBC_MQUEUE in Kernel TC to enable TC for libc mqueue.
@@ -89,6 +89,10 @@ config TC_KERNEL_LIBC_MISC select DEBUG_ERROR select DEBUG_VERBOSE +config TC_KERNEL_LIBC_MQUEUE + bool "Libc Mqueue" + default n + config TC_KERNEL_LIBC_PTHREAD bool "Libc Pthread" default n
Don't include empty lines in console data
@@ -23,6 +23,9 @@ export default function console(state = initialState.console, action) { warnings: [] }; case CMD_STD_OUT: + if(!action.text) { + return state; + } return { ...state, output: [].concat(state.output, { @@ -31,6 +34,9 @@ export default function console(state = initialState.console, action) { }) }; case C...
Fix Pylint-detected function argument syntax error
@@ -560,7 +560,7 @@ class NameCheck(object): return symbols - def perform_checks(self, show_problems: True): + def perform_checks(self, show_problems=True): """ Perform each check in order, output its PASS/FAIL status. Maintain an overall test status, and output that at the end.
docs; strings; fix formatting for example
@@ -132,7 +132,7 @@ from any other string, it's just parsed in a different way. </pre> When a raw string spans multiple lines, the newline immediately -after the triple quote will be ignored, and any whitespace after +after the triple quote will be ignored, and any spaces or tabs after the last newline (before the clos...
Remove the additional dot in output of compat.sh
@@ -804,7 +804,8 @@ run_client() { TESTS=$(( $TESTS + 1 )) TITLE="${1%"${1#?}"}->${SERVER_NAME%"${SERVER_NAME#?}"}" TITLE="$TITLE $MODE,$VERIF $2" - printf "%s %.*s " "$TITLE" "$((72 - ${#TITLE}))" ........................................................................ + DOTS72="..........................................
Fix no-des build
@@ -336,19 +336,25 @@ static int KRB5KDF(const EVP_CIPHER *cipher, ENGINE *engine, size_t blocksize; size_t cipherlen; size_t osize; +#ifndef OPENSSL_NO_DES int des3_no_fixup = 0; +#endif int ret; if (key_len != okey_len) { +#ifndef OPENSSL_NO_DES /* special case for 3des, where the caller may be requesting * the rando...
ci: Use test builds with the test image rpi-test-image is based on core-image-base but includes more packages that this layer provides. In this way we can have CI test more recipe updates.
@@ -25,7 +25,7 @@ jobs: - raspberrypi4 - raspberrypi-cm3 - raspberrypi-cm - image: [core-image-base] + image: [rpi-test-image] distro: [poky] runs-on: [self-hosted, Linux] name: ${{ matrix.machine }}/${{ matrix.image }}/poky/systemd
(516) Stop using github cache for non-master branches.
@@ -178,8 +178,6 @@ jobs: with: path: /tmp/.buildx-cache key: ${{ runner.os }}-${{ steps.env.outputs.arch }}-buildx-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-${{ steps.env.outputs.arch }}-buildx- upload-chunk-size: 1000000 # Cache downloaded Go dependencies. @@ -193,8 +191,6 @@ jobs: cli/.gocache cli/.gomo...
Display error/warning before message in summary
@@ -80,12 +80,12 @@ namespace ebi virtual void write_error(Error &error) override { - summary.add_to_summary(error.message, error.line); + summary.add_to_summary("Error: " + error.message, error.line); } virtual void write_warning(Error &error) override { - summary.add_to_summary(error.message + " (warning)", error.lin...
dojo: improve ford rune support for cable expressions
%+ turn cables |= cable=cable:clay ^- dojo-source - :: TODO: The following *does* properly add faces to imported cores, - :: but discards all their type information, making them hard to - :: work with - :: - :: =+ add-face=?~(face.cable "|=(n=* n)" ;:(weld "|=(n=* ^=(" (trip u.face.cable) " n))")) - :: :^ 0 %do (scan a...
fix missing pointer deref
@@ -240,7 +240,7 @@ API_EXPORT int CALL_CONV LMS_GetClockFreq(lms_device_t *device, size_t clk_id, f } lime::LMS7_Device* lms = (lime::LMS7_Device*)device; *freq = lms->GetClockFreq(clk_id); - return freq > 0 ? 0 : -1; + return *freq > 0 ? 0 : -1; } API_EXPORT int CALL_CONV LMS_SetClockFreq(lms_device_t *device, size_t...
Fixes a wrongly timed mem free
@@ -175,8 +175,6 @@ double pubsub_utils_matchSubscriber( requested_admin = celix_properties_get(ep, PUBSUB_ENDPOINT_ADMIN_TYPE, NULL); requested_qos = celix_properties_get(ep, PUBSUB_UTILS_QOS_ATTRIBUTE_KEY, NULL); requested_serializer = celix_properties_get(ep, PUBSUB_ENDPOINT_SERIALIZER, NULL); - celix_properties_des...
Cleanup the vst2 converter
#pragma once -#include "../../clap.h" -#include "../../stream.h" +#include "../clap.h" +#include "../stream.h" #ifdef __cplusplus extern "C" { #endif +// This interface provide all the tool to convert a vst2 plugin instance into a clap plugin instance typedef struct clap_vst2_converter { uint32_t vst2_plugin_id; const ...
nimble/host: fix l2cap coc rx endpoint buffs alloc Dissallow current vs next sdu index check when only one buffer is used.
@@ -604,7 +604,8 @@ ble_l2cap_coc_recv_ready(struct ble_l2cap_chan *chan, struct os_mbuf *sdu_rx) } if (chan->coc_rx.sdus[0] != NULL && - chan->coc_rx.next_sdu_alloc_idx == chan->coc_rx.current_sdu_idx) { + chan->coc_rx.next_sdu_alloc_idx == chan->coc_rx.current_sdu_idx && + BLE_L2CAP_SDU_BUFF_CNT != 1) { return BLE_HS...
Add README.md file in repository with compile instructions.
- Fix makedist.sh for use with git. - Nicer output on travis for clang analysis. - Add .gitignore file to exclude built files from version tracking. + - Add README.md file in repository with compile instructions. 25 April 2019: Wouter - Add tls.tpkg unit test for DNS over TLS functionality.
Update version with release 1.1.0 tag.
@@ -28,6 +28,7 @@ repo.versions: "0.9.99": "mynewt_1_0_0_b2_tag" "0.9.999": "mynewt_1_0_0_rc1_tag" "1.0.0": "mynewt_1_0_0_tag" + "1.1.0": "mynewt_1_1_0_tag" "0-latest": "1.0.0" # 1.0.0 "0-dev": "0.0.0" # master
extmod/modbluetooth: In gap_advertise only accept None to stop adv. To match the docs, and interval=0 may be used in the future to indicate something else.
@@ -313,12 +313,12 @@ STATIC mp_obj_t bluetooth_ble_gap_advertise(size_t n_args, const mp_obj_t *pos_a mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)]; mp_arg_parse_all(n_args - 1, pos_args + 1, kw_args, MP_ARRAY_SIZE(allowed_args), allowed_args, args); - mp_int_t interval_us; - if (args[ARG_interval_us].u_obj == mp_con...
Add documentation to cidset.h
picohash_table * cidset_create(); picohash_table * cidset_delete(picohash_table * cids); -int cidset_insert(picohash_table * cids, const picoquic_connection_id_t * cnx_id); + +/*! \brief Insert connection id \a cid into a set of connection ids \a cids if + * \a cids doesn't contain \a cid already. + * \return 0 if succ...
fstore: remove unused dump
@@ -438,8 +438,6 @@ int flb_fstore_destroy(struct flb_fstore *fs) struct flb_fstore_stream *fs_stream; struct flb_fstore_file *fsf; - flb_fstore_dump(fs); - mk_list_foreach_safe(head, tmp, &fs->streams) { fs_stream = mk_list_entry(head, struct flb_fstore_stream, _head);
story: lib: remove ;; in favor of typecast
?: ?=([prose ~] proses-list) (prose-to-text i.proses-list) %- tail - %^ spin ;;((list prose) t.proses-list) :: XX WHY DO WE NEED ;; + %^ spin `(list prose)`t.proses-list (prose-to-text i.proses-list) |= [prz=prose state=tape] ^- [prose tape]
add gorilla/sessions
@@ -62,6 +62,9 @@ ALLOW .* -> vendor/github.com/gofrs/uuid # websocket protocol ALLOW .* -> vendor/github.com/gorilla/websocket +# http sessions with cookie and filesystem session storage +ALLOW .* -> vendor/github.com/gorilla/sessions + # S2 geometry ALLOW .* -> vendor/github.com/golang/geo
TLSProxy/Proxy.pm: harmonize inner loop with the way sockets are.
@@ -356,7 +356,8 @@ sub clientstart my @ready; my $ctr = 0; local $SIG{PIPE} = "IGNORE"; - while( (!(TLSProxy::Message->end) + while($fdset->count + && (!(TLSProxy::Message->end) || (defined $self->sessionfile() && (-s $self->sessionfile()) == 0)) && $ctr < 10) { @@ -366,15 +367,25 @@ sub clientstart } foreach my $hand...
fix: a warning
@@ -431,7 +431,7 @@ field_from_json(char *json, size_t size, void *x) loc_from_json, &p->loc, &p->comment); - snprintf(p->spec, sizeof(p->spec), "%.*s", size, json); + snprintf(p->spec, sizeof(p->spec), "%.*s", (int)size, json); if (spec_buffer.start) { addr_to_lnc (spec_buffer.start, spec_buffer.size, json, &lnc);
Also guard include of mbedtls/threading.h in ssl_cookie.h when USE_PSA_CRYPTO is set
#include "mbedtls/ssl.h" +#if !defined(MBEDTLS_USE_PSA_CRYPTO) #if defined(MBEDTLS_THREADING_C) #include "mbedtls/threading.h" #endif +#endif /* !MBEDTLS_USE_PSA_CRYPTO */ /** * \name SECTION: Module settings
Fix for memory leak in framework
@@ -2392,7 +2392,7 @@ static void *fw_eventDispatcher(void *fw) { event->errorCode = request->errorCode; fw_invokeFrameworkListener(framework, listener->listener, event, listener->bundle); - + free(event->bundleSymbolicName); free(event); } }
Add option to disable installing of OpenCL headers
@@ -834,8 +834,10 @@ message(STATUS "Run tests with ICD: ${TESTS_USE_ICD}") ###################################################################################### -if(DEFINED INSTALL_OPENCL_HEADERS) +if(INSTALL_OPENCL_HEADERS) message(STATUS "Install POCL's OpenCL headers: ${INSTALL_OPENCL_HEADERS}") +elseif(DEFINED IN...
improved detection of frequency scan capabilites
@@ -5712,6 +5712,8 @@ if(ioctl(fd_socket, SIOCSIWFREQ, &pwrq) < 0) fprintf(stderr, "driver doesn't support ioctl() SIOCSIWFREQ\n"); return false; } +memset(&pwrq, 0, sizeof(pwrq)); +memcpy(&pwrq.ifr_name, interfacename, IFNAMSIZ); if(ioctl(fd_socket, SIOCGIWFREQ, &pwrq) < 0) { fprintf(stderr, "driver doesn't support io...
passing neutrino masses to CLASS
@@ -280,6 +280,26 @@ static void ccl_fill_class_parameters(ccl_cosmology * cosmo, struct file_content strcpy(fc->name[13],"wa_fld"); sprintf(fc->value[13],"%e",cosmo->params.wa); } + //neutrino parameters + //massless neutrinos + if (cosmo->params.N_nu_rel > 1.e-4){ + strcpy(fc->name[14],"N_ur"); + sprintf(fc->value[14...
Disable isl dep coalesce by default See comment.
@@ -2491,9 +2491,6 @@ static void compute_deps(osl_scop_p scop, PlutoProg *prog, } } - // Disabled due to a potential bug in coalescing. Reproduce with - // examples/heat-2d/heat-2d.c - coalescing dep_raw leads to no hyperplanes - // being found. if (options->isldepcoalesce) { assert(0 && "dep coalesce disabled with --...
options/internal: Cast away sign in code
@@ -14,28 +14,29 @@ struct utf8_charcode { auto cpoint() { return _cpoint; } charcode_error operator() (code_seq<const char> &seq) { + auto uc = static_cast<unsigned char>(*seq.it); if(!_progress) { - if(!(*seq.it & 0b1000'0000)) { + if(!(uc & 0b1000'0000)) { // ASCII-compatible. - _cpoint = *seq.it; - }else if((*seq.i...
exit group system call
@@ -495,7 +495,8 @@ static sysreturn fstat(int fd, struct stat *s) thread_log(current, "fd %d, stat %p\n", fd, s); file f = resolve_fd(current->p, fd); // take this from tuple space - if (fd == 1) { + if (fd == 1 || fd == 2) { + console("HERE......\n"); s->st_mode = S_IFIFO; return 0; } @@ -617,6 +618,11 @@ void exit(i...
fix mode calc iteration limit bug
@@ -87,9 +87,9 @@ int mode_calc(int argc, const char* argv[]) { iterationsLimit = Min(iterationsLimit, model.GetTreeCount()); if (evalPeriod == 0) { - evalPeriod = model.GetTreeCount(); + evalPeriod = iterationsLimit; } else { - evalPeriod = Min(evalPeriod, model.GetTreeCount()); + evalPeriod = Min(evalPeriod, iteratio...
Replace $GITHUB_WORKSPACE with ${{runner.workspace}}.
@@ -26,4 +26,4 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: $GITHUB_WORKSPACE/tools/ci/docs/doxygen/html + publish_dir: ${{runner.workspace}}/tools/ci/docs/doxygen/html
Inject mouse events as touchscreen As a mouse, some clicks on close prositions are sometimes not generated on some devices.
@@ -31,7 +31,7 @@ public class EventController { private void initPointer() { MotionEvent.PointerProperties props = pointerProperties[0]; props.id = 0; - props.toolType = MotionEvent.TOOL_TYPE_MOUSE; + props.toolType = MotionEvent.TOOL_TYPE_FINGER; MotionEvent.PointerCoords coords = pointerCoords[0]; coords.orientation...
check that strcat would not overflow static size buffer
@@ -44,6 +44,10 @@ od_target_module_add(od_logger_t *logger, goto error_close_handle; } + if (strlen(module_ptr->path) + strlen(target_module_path) + 1 > + sizeof(module_ptr->path)) + goto error_close_handle; + module_ptr->handle = handle; od_list_init(&module_ptr->link); od_list_append(&modules->link, &module_ptr->lin...
Fix pdst_mark for hand-written decode_huffman_fast
@@ -253,7 +253,7 @@ wuffs_base__status c_wuffs_deflate__decoder__decode_huffman_fast( uint32_t n_bits = self->private_impl.f_n_bits; // Initialize other local variables. - uint8_t* pdst_mark = pdst; + uint8_t* pdst_mark = a_dst->data.ptr; uint32_t lmask = MASK(self->private_impl.f_n_huffs_bits[0]); uint32_t dmask = MAS...
fix(gui): Widget_AutoSize() should not change the static width or height
@@ -1217,6 +1217,12 @@ done: void Widget_AutoSize(LCUI_Widget w) { float width = 0, height = 0; + if (!Widget_CheckStyleType(w, key_width, scale)) { + width = ComputeXMetric(w, key_width); + } + if (!Widget_CheckStyleType(w, key_height, scale)) { + height = ComputeYMetric(w, key_height); + } Widget_ComputeContentSize(w...
haskell-cabal-sandboxing: fix potential build issue with glib
@@ -88,6 +88,7 @@ before_install: brew install gobject-introspection brew install libgcrypt brew install libgit2 + brew install libuv brew install lua brew install openssl brew install python @@ -116,6 +117,7 @@ before_install: sudo apt-get install ninja-build sudo apt-get install libboost-all-dev sudo apt-get install ...
Print error string rather than just the code
@@ -733,7 +733,8 @@ static int parse(grib_context* gc, const char* filename) parse_file = 0; if (err) - grib_context_log(gc, GRIB_LOG_ERROR, "Parsing error %d > %s\n", err, filename); + grib_context_log(gc, GRIB_LOG_ERROR, "Parsing error: %s, file: %s\n", + grib_get_error_message(err), filename); GRIB_MUTEX_UNLOCK(&mut...
doc: release notes getenv interception
@@ -118,6 +118,8 @@ These notes are of interest for people maintaining packages of Elektra: By default now all MAINTAINED bindings except EXPERIMENTAL and DEPRECATED are included. For more details see [/doc/COMPILE.md](https://github.com/ElektraInitiative/libelektra/tree/master/doc/COMPILE.md). + To include both interc...
docs/supported: add Waveshare OpenH743I-C to board support list
@@ -323,6 +323,7 @@ ST STM32 - `STM32 H743zi Nucleo <https://www.st.com/en/evaluation-tools/nucleo-h743zi.html>`__ - `STM32 H743i Evaluation <https://www.st.com/en/evaluation-tools/stm32h743i-eval.html>`__ - `STM32 H745i Discovery <https://www.st.com/en/evaluation-tools/stm32h745i-disco.html>`__ +- `Waveshare OpenH743I...
[components][sdio] fix compile warning and optimized code.
@@ -294,11 +294,6 @@ static int mmc_select_bus_width(struct rt_mmcsd_card *card, rt_uint8_t *ext_csd) EXT_CSD_BUS_WIDTH_4, EXT_CSD_BUS_WIDTH_1 }; - rt_uint32_t bus_widths[] = { - MMCSD_BUS_WIDTH_8, - MMCSD_BUS_WIDTH_4, - MMCSD_BUS_WIDTH_1 - }; struct rt_mmcsd_host *host = card->host; unsigned idx, trys, bus_width = 0; ...
Fix double free of `found` structure `destroyEntry` remove `destroyEntry` to avoid memory corruption the protocol entry `found` which was in `g_protlist` was already freed by calling `lstDelete(g_protlist, key)` by `list->delete_fn` Fixes:
@@ -1762,7 +1762,6 @@ processProtocolEntry(config_t* config, yaml_document_t* doc, yaml_node_t* node) DBG(NULL); } protocol_context = NULL; - destroyProtEntry(found); break; } }
Fix handling of hex UDP args. In the current code it is not possible to pass `--probe-args=hex:..` to the `udp` probe module. The following error message is displayed: ``` udp: unknown UDP probe specification (expected file:/path or text:STRING or hex:01020304 or template:/path or template-fields) ```
@@ -188,7 +188,7 @@ int udp_global_initialize(struct state_conf *conf) udp_template = udp_template_load(in, in_len, &udp_template_max_len); module_udp.make_packet = udp_make_templated_packet; - } else if (strcmp(args, "hex") == 0) { + } else if (strncmp(args, "hex", arg_name_len) == 0) { udp_fixed_payload_len = strlen(...
coap: fix doxygen multiple param warning The parameters are already documented in the header file.
@@ -388,8 +388,6 @@ coap_engine_init(void) /*---------------------------------------------------------------------------*/ /** * \brief Makes a resource available under the given URI path - * \param resource A pointer to a resource implementation - * \param path The URI path string for this resource * * The resource im...
Migration guide updates for flags and controls. Provided a section that links to the ctrl/flags mappings to parameters for digests and ciphers. Added "EVP_CIPHER_CTX_set_flags() ordering" to changes section.
@@ -423,6 +423,12 @@ Previously (in 1.1.1) these conflicting parameters were allowed, but will now result in errors. See L<EVP_PKEY-DH(7)> for further details. This affects the behaviour of L<openssl-genpkey(1)> for DH parameter generation. +=head4 EVP_CIPHER_CTX_set_flags() ordering change + +If using a cipher from a ...