message
stringlengths
6
474
diff
stringlengths
8
5.22k
add the ci of nrf5x
@@ -65,6 +65,10 @@ jobs: - {RTT_BSP: "mb9bf618s", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "mb9bf568r", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "mini2440", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "nrf5x/nrf51822", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "nrf5x/nrf52832", RTT_TOOL_CHAIN: "sourcery-arm...
Modify ip_context struct using MEMB. Tested-by: Kishen Maloor
@@ -62,11 +62,8 @@ struct sockaddr_nl ifchange_nl; int ifchange_sock; bool ifchange_initialized; -#ifdef OC_DYNAMIC_ALLOCATION OC_LIST(ip_contexts); -#else /* OC_DYNAMIC_ALLOCATION */ -static ip_context_t devices[OC_MAX_NUM_DEVICES]; -#endif /* !OC_DYNAMIC_ALLOCATION */ +OC_MEMB(ip_context_s, ip_context_t, OC_MAX_NUM_D...
If window is too big for screen, account for borders when shrinking to fit
@@ -1846,6 +1846,33 @@ void CreateMainFrame(FrameCreationCallback inOnFrame, int inWidth, int inHeight, if (targetH>sgDesktopHeight) targetH = sgDesktopHeight; + int targetX = SDL_WINDOWPOS_UNDEFINED; + int targetY = SDL_WINDOWPOS_UNDEFINED; + + #if (defined(HX_WINDOWS) && !defined(HX_WINRT)) + if (!borderless && !full...
nshlib/nsh_netcmds.c: Fix a compilation error when IPv4/IPv6 dual stack is enabled
@@ -1023,7 +1023,7 @@ int cmd_ifconfig(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) #ifdef CONFIG_NET_IPv6 #ifdef CONFIG_NET_IPv4 - if (inet6i != NULL) + if (inet6 != NULL) #endif { #warning Missing Logic
updated install_dependencies.bat
@@ -4,13 +4,35 @@ if not exist windows_dependencies mkdir windows_dependencies if exist windows_dependencies/odb exit /b cd windows_dependencies +:: Download zip files curl -o libodb-2.4.0.zip https://www.codesynthesis.com/download/odb/2.4/libodb-2.4.0.zip -unzip libodb-2.4.0.zip -move libodb-2.4.0\odb .\ - curl -o lib...
agent retrieves new token_endpoint if it suspects that it changed
@@ -151,11 +151,21 @@ void handleAdd(char* q, int sock, struct oidc_provider** loaded_p, size_t* loade ipc_write(sock, RESPONSE_ERROR, "provider already loaded"); return; } + if(retrieveAccessToken(provider, FORCE_NEW_TOKEN)!=0) { + char* newTokenEndpoint = getTokenEndpoint(provider_getConfigEndpoint(*provider), provid...
docs: change descriptions of substitution defines to use literal blocks Copy-pasting the "local substitution" example would result in an error, due to the ASCII quotation marks being replaced by unicode double quotation marks when outputting the HTML.
@@ -328,11 +328,11 @@ Would render in the documentation as: This is a {IDF_TARGET_NAME}, with /{IDF_TARGET_PATH_NAME}/soc.c, compiled with `xtensa-{IDF_TARGET_TOOLCHAIN_NAME}-elf-gcc` with `CONFIG_{IDF_TARGET_CFG_PREFIX}_MULTI_DOC`. -This extension also supports markup for defining local (within a single source file) s...
docs - gpfdist uncompreses data on the fly.
errors.</note> <p>For readable external tables, if load files are compressed using <codeph>gzip</codeph> or <codeph>bzip2</codeph> (have a <codeph>.gz</codeph> or <codeph>.bz2</codeph> file - extension), <codeph>gpfdist</codeph> uncompresses the files before loading. For writable - external tables, <codeph>gpfdist</cod...
static buffer for data_flash
@@ -402,7 +402,7 @@ void data_flash_read_backbox(const uint32_t file_index, const uint32_t offset, u } cbor_result_t data_flash_write_backbox(const blackbox_t *b) { - uint8_t buffer[PAGE_SIZE]; + static uint8_t buffer[PAGE_SIZE]; cbor_value_t enc; cbor_encoder_init(&enc, buffer, PAGE_SIZE);
apps/blemesh_shell: Set default syscfg values for testing
@@ -31,9 +31,25 @@ syscfg.vals: # Newtmgr is not supported in this app, so disable newtmgr-over-shell. SHELL_NEWTMGR: 0 + MSYS_1_BLOCK_COUNT: 80 + BLE_MESH: 1 BLE_MESH_SHELL: 1 - MSYS_1_BLOCK_COUNT: 48 + BLE_MESH_PROV: 1 + BLE_MESH_RELAY: 1 + BLE_MESH_PB_ADV: 1 + BLE_MESH_PB_GATT: 1 + BLE_MESH_LOW_POWER: 1 + BLE_MESH_L...
[build-srt] Install newer meson
@@ -43,12 +43,9 @@ dependencies() { if [[ ! -f ./bin/get-pip.py ]]; then curl https://bootstrap.pypa.io/get-pip.py -o bin/get-pip.py - fi python3 ./bin/get-pip.py - - if [[ $(pip3 show meson >/dev/null; echo $?) == 1 || $(pip3 show mako >/dev/null; echo $?) == 1 ]]; then - pip3 install meson mako fi + pip3 install 'mes...
Changed eqtide.c:VerifyLostEngEqtide to make the same assignments regardless of thet tidal model. This may have fixed a memory leak in which some memory was not allocated, leading to very spurious behavior (e.g. evolve->dTime would be overwritten).
@@ -836,6 +836,7 @@ void VerifyRotationEqtideWarning(char cName1[],char cName2[],char cFile[],int iL void VerifyLostEngEqtide(BODY *body,UPDATE *update, CONTROL *control,OPTIONS *options,int iBody) { +/* XXX I think this old way doesn't depend on tidal model if (control->Evolve.iEqtideModel == CPL) { update[iBody].iaTy...
misc: bond_create is broken for custom dump print Regression from The aformentioned patch changed lb and mode to u32. But it does not make the same change to custom_dump.c Type: fix
@@ -663,9 +663,9 @@ static void *vl_api_bond_create_t_print s = format (s, "mac-address %U ", format_ethernet_address, mp->mac_address); if (mp->mode) - s = format (s, "mode %U ", format_bond_mode, mp->mode); + s = format (s, "mode %U ", format_bond_mode, ntohl (mp->mode)); if (mp->lb) - s = format (s, "lb %U ", format...
dev-tools/scipy: stay in 1.3 tree and bump to v1.3.3
@@ -25,7 +25,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define pname scipy Name: %{python_prefix}-%{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Version: 1.4.1 +Version: 1.3.3 Release: 1%{?dist} Summary: Scientific Tools for Python License: BSD-3-Clause
Swap reading y and z values
@@ -96,8 +96,8 @@ static int hmc5883_read(lua_State* L) { platform_i2c_send_stop(hmc5883_i2c_id); x = (int16_t) ((data[0] << 8) | data[1]); - y = (int16_t) ((data[2] << 8) | data[3]); - z = (int16_t) ((data[4] << 8) | data[5]); + z = (int16_t) ((data[2] << 8) | data[3]); + y = (int16_t) ((data[4] << 8) | data[5]); lua_...
Corrected N250SP chip
@@ -51,7 +51,7 @@ while [ -z "$SETUP_DONE" ]; do SNAP_CFG="CONFIG_S121B=y\n""CONFIG_FPGACHIP=xcku115-flva1517-2-e\n" ;; "N250SP" ) - SNAP_CFG="CONFIG_N250SP=y\n""CONFIG_FPGACHIP=xcku15p-ffva1156-2-e\n" + SNAP_CFG="CONFIG_N250SP=y\n""CONFIG_FPGACHIP=xcku15p-ffva1156-2-i\n" ;; * ) echo "($0) ERROR: FPGACARD is not set co...
nrf52820_microbit: HID LED initially off
@@ -203,6 +203,11 @@ static inline uint8_t get_led_gamma(uint8_t brightness) { // Called in main_task() to init before USB and files are configured static void prerun_board_config(void) { + // HID_LED_DEF is on so the resting state of the orange LED after flashing is on + // but turn it off here so it's initially off, ...
Set GDL90 traffic alert bit always when bearing/distance is not available.
@@ -259,6 +259,10 @@ func registerTrafficUpdate(ti TrafficInfo) { func isTrafficAlertable(ti TrafficInfo) bool { // Set alert bit if possible and traffic is within some threshold // TODO: Could be more intelligent, taking into account headings etc. + if !ti.BearingDist_valid { + // If not able to calculate the distance...
Fix test-callbacks when using libuv < 1.8.0
@@ -38,18 +38,22 @@ return require('lib/tap')(function (test) end) test("luv_req_t: function", function (print, p, expect, uv) - local fn = function(err, path) - p(err, path) + local fn = function(err, stat) + assert(not err) + assert(stat) end - assert(uv.fs_realpath('.', expect(fn))) + assert(uv.fs_stat('.', expect(f...
TSCH: log parsing errors even when security is not enabled
@@ -763,6 +763,12 @@ PT_THREAD(tsch_rx_slot(struct pt *pt, struct rtimer *t)) packet_duration = TSCH_PACKET_DURATION(current_input->len); + if(!frame_valid) { + TSCH_LOG_ADD(tsch_log_message, + snprintf(log->message, sizeof(log->message), + "!failed to parse frame %u %u", header_len, current_input->len)); + } + if(fram...
Added success counter to sba too
@@ -35,6 +35,8 @@ typedef struct SBAData { int last_lh; int failures_to_reset; int failures_to_reset_cntr; + int successes_to_reset; + int successes_to_reset_cntr; } SBAData; void metric_function(int j, int i, double *aj, double *xij, void *adata) { @@ -292,9 +294,9 @@ static double run_sba_find_3d_structure(SBAData *d...
docker: add tmpfs for alpine image build
@@ -44,6 +44,7 @@ RUN adduser -u ${USERID} -G wheel -D elektra ARG PARALLEL=8 WORKDIR ${ELEKTRA_ROOT} RUN --mount=type=tmpfs,target=/tmp \ + --mount=type=tmpfs,target=/etc/kdb \ --mount=type=tmpfs,target=/root/.cache/elektra \ --mount=type=tmpfs,target=/root/.config \ mkdir build \
t1_trce: Fix remaining places where the 24 bit shift overflow happens [extended tests]
@@ -670,7 +670,10 @@ static int ssl_print_random(BIO *bio, int indent, if (*pmsglen < 32) return 0; - tm = (p[0] << 24) | (p[1] << 16) | (p[2] << 8) | p[3]; + tm = ((unsigned int)p[0] << 24) + | ((unsigned int)p[1] << 16) + | ((unsigned int)p[2] << 8) + | (unsigned int)p[3]; p += 4; BIO_indent(bio, indent, 80); BIO_put...
Modernize cups-poll.m4.
@@ -8937,22 +8937,31 @@ fi ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll" if test "x$ac_cv_func_poll" = xyes then : + + printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h + fi ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create" if test "x$ac_cv_func_epoll_create" = xyes then : + + printf "%s\n" "...
wuffs gen -version=0.3.0
@@ -85,15 +85,15 @@ extern "C" { // each major.minor branch, the commit count should increase monotonically. // // WUFFS_VERSION was overridden by "wuffs gen -version" based on revision -// c27250f52fcfb936d4f0410d1199fe24c04b9713 committed on 2022-10-28. +// c698d81b4d6868f3c5e26d2d7c3b39fe97209ec0 committed on 2023-0...
Mask exceptions in Lua.run Lua.run is the default entry point and should be easy to use. Asynchronous exceptions pose a serious footgun in HsLua. Masking exceptions avoids some issues which lead to errors like `too many hs_exit()s`.
@@ -36,11 +36,12 @@ import qualified Foreign.Lua.Core as Lua import qualified Foreign.Lua.Types as Lua import qualified Foreign.Lua.Utf8 as Utf8 --- | Run lua computation using the default HsLua state as starting point. Raised --- exceptions are passed through; error handling is the responsibility of the --- caller. +-...
remove android:targetSdkVersion from AndroidManifest that is conflict with project.properties API target. I don't know why well.. Here the discussion:
android:installLocation="preferExternal"> <!-- Android 4.4.2 --> - <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="19" /> + <uses-sdk android:minSdkVersion="19" /> <!-- OpenGL ES 2.0 --> <uses-feature android:glEsVersion="0x00020000" />
QA: Check driver installation status When you have a large project, uart_driver_install() may fail. For QA we should always check the status of the driver first.
@@ -22,6 +22,11 @@ static const char* TAG = "uart_select_example"; static void uart_select_task(void *arg) { + if (uart_driver_install(UART_NUM_0, 2*1024, 0, 0, NULL, 0) != ESP_OK) { + ESP_LOGE(TAG, "Driver installation failed"); + vTaskDelete(NULL); + } + uart_config_t uart_config = { .baud_rate = 115200, .data_bits =...
Add logic data type to perf_event_count port Output port perf_event_count has no data type defined and will default to 'wire logic', which can't be driven using procedural assignments.
@@ -29,7 +29,7 @@ module performance_counters input reset, input [NUM_EVENTS - 1:0] perf_events, input [NUM_COUNTERS - 1:0][EVENT_IDX_WIDTH - 1:0] perf_event_select, - output [NUM_COUNTERS - 1:0][63:0] perf_event_count); + output logic[NUM_COUNTERS - 1:0][63:0] perf_event_count); always_ff @(posedge clk, posedge reset)...
Add missing members to empty_recursive.
@@ -133,7 +133,10 @@ const s_damage_recursive empty_recursive = { .force = 0, .index = 0, .mode = 0, .rate = 0, - .time = 0}; + .tick = 0, + .time = 0, + .owner = NULL, + .next = NULL}; // unknockdown attack const s_collision_attack emptyattack =
mm_heap/mm_addfreechunk : sorting the free nodelist in ascending order of physical address when the size is the same. This can prevent higher address memory from being allocated when lower address memory is available in the free nodelist. Therefore, memory fragmentation can be mitigated.
@@ -92,6 +92,12 @@ void mm_addfreechunk(FAR struct mm_heap_s *heap, FAR struct mm_freenode_s *node) for (prev = &heap->mm_nodelist[ndx], next = heap->mm_nodelist[ndx].flink; next && next->size && next->size < node->size; prev = next, next = next->flink) ; + /* Mitigate memory fragmentation + * by sorting the list in as...
cond: Added missing resource_puts
@@ -93,6 +93,9 @@ int proc_condSignal(process_t *process, unsigned int c) } proc_threadWakeupYield(&rc->waitq); + + resource_put(process, rc); + return err; } @@ -111,6 +114,9 @@ int proc_condBroadcast(process_t *process, unsigned int c) } proc_threadBroadcastYield(&rc->waitq); + + resource_put(process, rc); + return e...
fix travis script to avoid idempotency problem
@@ -11,15 +11,16 @@ before_install: before_script: - "export CRUBY_VERSION=$(ruby -e'puts `grep cruby_version .mrubycconfig`.sub(\"cruby_version: \", \"\")')" - export MRUBY_VERSION=$(grep mruby .ruby-version) - - if [ ! -e src/hal ]; then ln -s hal_posix src/hal; fi - - if [ ! -d ~/.rbenv; ]; then git clone https://gi...
Explain postmaster's treatment of SIGURG. Add a few words of comment to explain why SIGURG doesn't follow the dummy_handler pattern used for SIGUSR2, since that might otherwise appear to be a bug. Discussion:
@@ -660,6 +660,11 @@ PostmasterMain(int argc, char *argv[]) pqsignal_pm(SIGCHLD, reaper); /* handle child termination */ #ifdef SIGURG + /* + * Ignore SIGURG for now. Child processes may change this (see + * InitializeLatchSupport), but they will not receive any such signals + * until they wait on a latch. + */ pqsigna...
doc: add rdmsr/wrmsr to the "ACRN Shell Commands" documentation Add 'rdmsr' and 'wrmsr' to the "ACRN Shell Commands" documentation. Both are already described via the interactive help command but not (yet) included in our on-line documentation.
@@ -44,3 +44,9 @@ The ACRN hypervisor shell supports the following commands: - Display the CPUID leaf [subleaf], in hexadecimal * - reboot - Trigger a system reboot (immediately) + * - rdmsr [-p<pcpu_id>] <msr_index> + - Read the Model-Specific Register (MSR) at index ``msr_index`` (in + hexadecimal) for CPU ID ``pcpu_...
acrn-config: correct epc_section base/size value Current epc_section base/size vaule missed vm id so the configure item is not working, the patch will fix this issue. Acked-by: Victor Sun
@@ -150,8 +150,8 @@ def is_need_epc(epc_section, i, config): return else: print("\t\t.epc= {", file=config) - print('\t\t\t.base = "{0}",'.format(epc_section.base), file=config) - print('\t\t\t.size = {0},'.format(epc_section.size), file=config) + print('\t\t\t.base = {0},'.format(epc_section.base[i]), file=config) + p...
Consider review comments
@@ -9858,7 +9858,7 @@ Sensor *DeRestPluginPrivate::getSensorNodeForAddress(const deCONZ::Address &addr { for (Sensor &sensor: sensors) { - if (sensor.deletedState() != Sensor::StateNormal || !sensor.node()) { continue; } + if (sensor.deletedState() != Sensor::StateNormal) { continue; } if (!isSameAddress(sensor.address...
Fix timeline column drawing
#include <fastlock.h> #include <guisupp.h> +#include <math.h> #include <commoncontrols.h> #include <shellapi.h> #include <uxtheme.h> @@ -2478,8 +2479,18 @@ VOID PhCustomDrawTreeTimeLine( createTime.QuadPart = systemTime.QuadPart - CreateTime->QuadPart; } + // Note: Time is 8 bytes, Float is 4 bytes. Use DOUBLE type at ...
Fix AppVeyor collecting artifacts only when there is a DFU package
If($env:NEEDS_DFU -eq 'True') { Compress-7Zip -Path . -Filter "*.dfu" -ArchiveFileName $env:BOARD_NAME-$env:GitVersion_SemVer.zip -DisableRecursion -Append - Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip } + Push-AppveyorArtifact $env:BOARD_NAME-$env:GitVersion_SemVer.zip #upload package only if this...
web-ui: remove debug output
@@ -24,7 +24,6 @@ export const validateRange = (rangeStr, num) => { if (res) return res const [ , first, second ] = range.match(RANGE_REGEX) const [ min, max ] = getMinMax(Number(first), Number(second)) - console.log('valida!!!', num, min, max) if ((num >= min) && (num <= max)) { return true }
ixfr-out, remove debug statements.
@@ -933,8 +933,6 @@ static void ixfr_create_finishup(struct ixfr_create* ixfrcr, PACKAGE_VERSION, wiredname2str(ixfrcr->zone_name), (unsigned)ixfrcr->old_serial, (unsigned)ixfrcr->new_serial, (unsigned)ixfr_data_size(store->data), nowstr); - log_msg(LOG_ERR, "done %s", log_buf); - exit(1); if(append_mem) { ixfr_store_f...
Added support for opening from clicking gbsproj on Windows (need to manually associate file extension to application right now)
@@ -197,7 +197,10 @@ app.on("ready", async () => { await installExtension(REDUX_DEVTOOLS); } - if (splashWindow === null && mainWindow === null) { + const lastArg = process.argv[process.argv.length - 1]; + if (process.argv.length >= 2 && lastArg.indexOf("-") !== 0) { + openProject(lastArg); + } else if (splashWindow ==...
Output valid HTML on built in webpage
#define MAX_RESP 0x800 char resp[MAX_RESP]; -char staticpage[] = "HTTP/1.0 200 OK\nContent-Type: text/html\n\n" -"<pre>This is your comma.ai panda<br/><br/>" -"It's open source. Find the code <a href=\"https://github.com/commaai/panda\">here</a><br/>" -"Designed to work with our dashcam, <a href=\"http://chffr.comma.ai...
Added LHB prefix to base station ids
@@ -117,7 +117,7 @@ struct SurviveSimpleContext *survive_simple_init(int argc, char *const *argv) { obj->actx = actx; obj->has_update = ctx->bsd[i].PositionSet; snprintf(obj->name, 32, "LH%" PRIdPTR, i); - snprintf(obj->data.lh.serial_number, 16, "%X", ctx->bsd[i].BaseStationID); + snprintf(obj->data.lh.serial_number, ...
Remove invalid page checksum test. All zero pages should not have checksums. Not only is this test invalid but it will not work with the stock page checksum implementation in PostgreSQL, which checks for zero pages. Since we will be using that code verbatim soon this test needs to go.
@@ -27,10 +27,6 @@ testRun(void) // ***************************************************************************************************************************** if (testBegin("pgPageChecksum()")) { - // Checksum for 0x00 fill, page 0x00 - memset(testPage(0), 0, PG_PAGE_SIZE_DEFAULT); - TEST_RESULT_U16_HEX(pgPageChecks...
Add Aduro Light commands to button_maps.schema.json Needed for PR
"ADUROLIGHT" ] }, + "adurolight-commands": { + "enum": [ "ATTRIBUTE_REPORT", "COMMAND_0", "COMMAND_20", ] + }, "basic-commands": { "enum": [ "0x02" ] }, }, { "anyOf": [ + { "$ref": "#/definitions/adurolight-commands" }, { "$ref": "#/definitions/basic-commands" }, { "$ref": "#/definitions/onoff-commands" }, { "$ref": "#...
OcBootManagementLib: Report unsupported etc. custom entries
@@ -1679,7 +1679,14 @@ AddFileSystemEntryForCustom ( FALSE ); - if (!EFI_ERROR (Status)) { + if (EFI_ERROR (Status)) { + DEBUG (( + DEBUG_WARN, + "OCB: Failed to add custom entry %a - %r", + BootContext->PickerContext->CustomEntries[Index].Name, + Status + )); + } else { ReturnStatus = EFI_SUCCESS; } }
arch/xtensa/esp32: Propagate RTC IRQ status register to lower levels
@@ -63,6 +63,7 @@ enum rtcio_lh_out_mode_e #ifdef CONFIG_ESP32_RTCIO_IRQ static int g_rtcio_cpuint; +static uint32_t last_status; #endif static const uint32_t rtc_gpio_to_addr[] = @@ -114,12 +115,11 @@ static inline bool is_valid_rtc_gpio(uint32_t rtcio_num) * Name: rtcio_dispatch * * Description: - * Second level disp...
Fix SERVERPORT variable (Issue
@@ -2565,6 +2565,10 @@ load_system(const char *conf) /* I - Configuration file */ *ptr++ = '\0'; port = atoi(ptr); } + else if (DefaultPort) + { + port = DefaultPort; + } else { #ifdef _WIN32 @@ -2574,6 +2578,9 @@ load_system(const char *conf) /* I - Configuration file */ #endif /* _WIN32 */ } + if (!DefaultPort) + Def...
Checking __STDC_VERSION__ rather than __STRICT_ANSI__ `__STRICT_ANSI__` is a gnuish flag macro that indicates if `-ansi` was given on the command line. To check the C version, it's better to check the macro `__STDC_VERSION__`.
@@ -56,18 +56,31 @@ static void log_with_prefix(const char *prog, const char *fmt, va_list ap) BIO_free(pre); } +/* + * Unfortunately, C before C99 does not define va_copy, so we must + * check if it can be assumed to be present. We do that with an internal + * antifeature macro. + * C versions since C94 define __STDC_...
Docs: removed reference to distributed clause since it's not relevant for GP 6.x
master. Additionally, it is often the case that the master host has insufficient disk space to save a backup of an entire distributed Greenplum database. </p> <p>The <codeph>pg_restore</codeph> utility requires compressed dump files created by - <codeph>pg_dump</codeph> or <codeph>pg_dumpall</codeph>. Before starting t...
[awm] compositor_queue_rect_to_redraw no-ops if we have too many update rects this frame
@@ -18,6 +18,15 @@ array_t* _g_screen_rects_to_update_this_cycle = NULL; These may include portions of windows, the desktop background, etc. */ void compositor_queue_rect_to_redraw(Rect update_rect) { + if (update_rect.size.width == 0 || update_rect.size.height == 0) { + // TODO(PT): Investigate how this happens? Trigg...
vulkan: add PTHREAD_CHECK() to all pthread_*() calls
@@ -1242,8 +1242,8 @@ pocl_vulkan_init (unsigned j, cl_device_id dev, const char *parameters) d->work_queue = NULL; - pthread_create (&d->driver_pthread_id, NULL, pocl_vulkan_driver_pthread, - dev); + PTHREAD_CHECK (pthread_create (&d->driver_pthread_id, NULL, + pocl_vulkan_driver_pthread, dev)); return CL_SUCCESS; } @...
Partial revert of [db3c164c]: changes break armcc build
#endif extern void (* const __isr_vector[])(void); + +/* +* Note: When compiling on ARM Keil Toolchain only. +* If the SystemCoreClock is left uninitialized, post Scatter load +* the clock will default to system reset value(48MHz) +*/ uint32_t SystemCoreClock = RO_FREQ/2; void SystemCoreClockUpdate(void) @@ -278,22 +28...
Update hold-tap.md The bindings for the toggle-layer-on-tap/momentary-layer-on-hold example code were backwards, resulting in toggle-on-hold. This also made momentary unachievable.
@@ -294,7 +294,7 @@ This hold-tap example implements a [toggle-layer](layers.md/#toggle-layer) when #binding-cells = <2>; flavor = "hold-preferred"; tapping-term-ms = <200>; - bindings = <&tog>, <&mo>; + bindings = <&mo>, <&tog>; }; };
Update Telepo.cs the generator doesn't like generics i guess
@@ -20,7 +20,7 @@ namespace FFXIVClientStructs.FFXIV.Client.Game.UI { public partial bool Teleport(uint aetheryteID, byte subIndex); [MemberFunction("E8 ?? ?? ?? ?? 48 8B 48 08 48 2B 08")] - public partial Vector<TeleportInfo>* UpdateAetheryteList(); + public partial void* UpdateAetheryteList(); } [StructLayout(LayoutK...
add edge to helper menu
@@ -25,7 +25,8 @@ be set to sockets with unix:///var/run/mysock, tcp://hostname:port, udp://hostna scope run -- perl -e 'print "foo\n"' scope run --payloads -- nc -lp 10001 scope run -- curl https://wttr.in/94105 -scope run -c tcp://127.0.0.1:10091 -- curl https://wttr.in/94105`, +scope run -c tcp://127.0.0.1:10091 -- ...
chat: copy shortcodes
@@ -148,6 +148,27 @@ export class SettingsScreen extends Component { </div> <div className="w-100 pl3 mt4 cf"> <h2 className="f8 pb2">Chat Settings</h2> + <div className="w-100 mt3"> + <p className="f8 mt3 lh-copy">Share</p> + <p className="f9 gray2 mb4">Share a shortcode to join this chat</p> + <div className="relativ...
multithread cruncher: only copy stats when picture->stats != NULL
@@ -1796,7 +1796,9 @@ WebPEncodingError VP8LEncodeStream(const WebPConfig* const config, } // This line is here and not in the param initialization above to remove a // Clang static analyzer warning. + if (picture->stats != NULL) { memcpy(&stats_side, picture->stats, sizeof(stats_side)); + } // This line is only useful...
memif: memif buffer leaks during disconnecting zero copy interface. code added to free the zero copy interface rx/tx queue buffers during disconnecting. As find the last official solution introduced core in ut. This does not. Type: fix
@@ -65,6 +65,24 @@ memif_queue_intfd_close (memif_queue_t * mq) } } +static void +memif_disconnect_free_zc_queue_buffer (memif_queue_t * mq, u8 is_rx) +{ + vlib_main_t *vm = vlib_get_main (); + u16 ring_size, n_slots, mask, start; + + ring_size = 1 << mq->log2_ring_size; + mask = ring_size - 1; + n_slots = mq->ring->he...
Install: Replace Homebrew with Linuxbrew formula Homebrew is not a package manager for Linux, but for macOS. [Linuxbrew](http://linuxbrew.sh) on the other hand is a fork of Homebrew that should work on Linux.
## Linux -For the following Linux Distributions 0.8 packages are available: +For the following Linux distributions and package managers 0.8 packages are available: - [Arch Linux](https://aur.archlinux.org/packages/elektra/) - - [Homebrew](http://formulae.brew.sh/formula/elektra) - [Openwrt](https://github.com/openwrt/p...
nimble/phy: Fix debug pins build on nRF52832 Need to adjust code for nRF52832 which does not have GPIO ports and NRF_RADIO->EVENT_RXREADY event. Also setup GPIO via registers to strip dependency from hal_gpio (for porting).
@@ -1213,12 +1213,27 @@ ble_phy_isr(void) static inline void ble_phy_dbg_time_setup_gpiote(int index, int pin) { - hal_gpio_init_out(pin, 0); + NRF_GPIO_Type *port; + +#if NRF52840_XXAA + port = pin > 31 ? NRF_P1 : NRF_P0; + pin &= 0x1f; +#else + port = NRF_P0; +#endif + + /* Configure GPIO directly to avoid dependency...
gard: Add path parsing support In order to support manual GARD records we need to be able to parse the hardware unit path strings. This patch implements that.
@@ -168,6 +168,20 @@ static const char *target_type_to_str(int type) return "UNKNOWN"; } +static int str_to_target_type(const char *path) +{ + int i, len; + + for (i = 0; i < chip_unit_count; i++) { + len = strlen(chip_units[i].desc); + + if (!strncmp(chip_units[i].desc, path, len)) + return chip_units[i].type; /* matc...
util/markdownlint.rb: Allow fenced code blocks We use both indented and fenced styles in diverse markdown files. We try to do this consistently in each file, though.
@@ -5,8 +5,9 @@ all # Use --- and === for H1 and H2. rule 'MD003', :style => :setext_with_atx -# Code blocks are indented -rule 'MD046', :style => :indented +# Code blocks may be fenced or indented, both are OK... +# but they must be consistent throughout each file. +rule 'MD046', :style => :consistent # Bug in mdl, ht...
nimble/phy/nrf5x: Implement NRF5340 errata 158 Trim values shall be loaded after if toggling power.
@@ -1520,6 +1520,12 @@ ble_phy_init(void) nrf_radio_power_set(NRF_RADIO, true); #ifdef NRF53_SERIES + /* Errata 158: load trim values after toggling power */ + for (uint32_t index = 0; index < 32ul && + NRF_FICR_NS->TRIMCNF[index].ADDR != (uint32_t *)0xFFFFFFFFul; index++) { + *((volatile uint32_t *)NRF_FICR_NS->TRIMCN...
Fix crash in xdg_activation_v1.c wlr_xdg_surface_from_wlr_surface() can return a NULL pointer, so check for NULL before dereferencing it.
@@ -11,6 +11,9 @@ void xdg_activation_v1_handle_request_activate(struct wl_listener *listener, struct wlr_xdg_surface *xdg_surface = wlr_xdg_surface_from_wlr_surface(event->surface); + if (xdg_surface == NULL) { + return; + } struct sway_view *view = xdg_surface->data; if (!xdg_surface->mapped || view == NULL) { return...
docs - remove SOCKS proxy support from s3 protocol
@@ -280,13 +280,13 @@ server_side_encryption = sse-s3 <section id="s3_proxy"> <title>s3 Protocol Proxy Support </title> <p>You can specify a URL that is the proxy that S3 uses to connect to a data source. S3 - supports these protocols: HTTP, HTTPS, and SOCKS (4, 4a, 5, 5h). You can specify a proxy + supports these prot...
tools: fix typo in help message
@@ -43,7 +43,7 @@ from time import sleep examples = """examples: ./bindsnoop # trace all TCP bind()s ./bindsnoop -t # include timestamps - ./tcplife -w # wider columns (fit IPv6) + ./bindsnoop -w # wider columns (fit IPv6) ./bindsnoop -p 181 # only trace PID 181 ./bindsnoop -P 80 # only trace port 80 ./bindsnoop -P 80,...
Default missing otherActor in custom event call to be $self$
@@ -27,7 +27,7 @@ const compile = (input, helpers) => { e.args.actorId = input[`$actor[${e.args.actorId}]$`] || "$self$"; } if (e.args.otherActorId && e.args.otherActorId !== "player") { - e.args.otherActorId = input[`$actor[${e.args.otherActorId}]$`]; + e.args.otherActorId = input[`$actor[${e.args.otherActorId}]$`] ||...
first try migrating one of the arm builds from travis
@@ -14,6 +14,26 @@ steps: displayName: 'Run a one-line script' - script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' + docker run --rm --privileged multiarch/qemu-user-static:register --reset + ls /proc/sys/fs/binfmt_misc/ + c...
Use a dedicated symbol for in-function loop to avoid the weak symbol JAL range error when a strong symbol is defined outside.
@@ -274,17 +274,19 @@ xPortStartFirstTask: /*-----------------------------------------------------------*/ freertos_risc_v_application_exception_handler: +__application_exception_handler_loop: csrr t0, mcause /* For viewing in the debugger only. */ csrr t1, mepc /* For viewing in the debugger only */ csrr t2, mstatus /...
Removed unused defs GRAY_SVR, _CONSOLE, _REENTRANT from Linux makefile
SHELL = /bin/bash # Generic makefile -#ifdef FORCE32 MARCH = -march=i686 -m32 -#endif OPTDEFAULT = -fno-omit-frame-pointer -ffast-math -fpermissive $(MARCH) COPTDEFAULT = -fno-omit-frame-pointer -ffast-math $(MARCH) @@ -12,34 +10,24 @@ COPT = -O0 -fno-expensive-optimizations $(COPTDEFAULT) WARN = -Wall -Wno-unknown-pra...
contacts: add bg-gray0 to root page
@@ -50,7 +50,7 @@ export class Root extends Component { contacts={contacts} groups={groups} invites={invites}> - <div className="h-100 w-100 overflow-x-hidden bg-white dn db-ns"> + <div className="h-100 w-100 overflow-x-hidden bg-white bg-gray0-d dn db-ns"> <div className="pl3 pr3 pt2 dt pb3 w-100 h-100"> <p className=...
Run and kill python in the test to check coredump presence
@@ -76,7 +76,7 @@ def recover_core_dump_file(binary_path, cwd, pid): logger.debug("Search for core dump files match pattern '%s' in '%s'", core_mask, core_dump_dir) files = glob.glob(os.path.join(core_dump_dir, core_mask)) - logger.debug("Matched core dump files (%d): [%s]", len(files), ", ".join(files)) + logger.debug...
ci: fix python3 pip problem upgrade pip to get setuptools
@@ -19,7 +19,7 @@ matrix: - python3-pip - script: scripts/build-pypi.sh install: - - python3 -m pip install --user pybind11 nose2 + - python3 -m pip install --upgrade pip && python3 -m pip install --user pybind11 nose2 cache: ccache env: - BUILD_JOB=Build python distribution and upload to PyPI
WIFI: added log for wifi test, increased timeout
@@ -287,7 +287,8 @@ static void wifi_connect_by_bssid(uint8_t *bssid) TEST_ESP_OK(esp_wifi_set_config(WIFI_IF_STA, &w_config)); TEST_ESP_OK(esp_wifi_connect()); - bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 5000/portTICK_RATE_MS); + ESP_LOGI(TAG, "called esp_wifi_connect()"); + bits = xEventGroupWaitBit...
graph-store: add index validation
?~ node-list graph =* index -.i.node-list =* node +.i.node-list + ~| "cannot add deleted post" + ?> ?=(%& -.post.node) + =* p p.post.node + ~| "graph indexes must match" + ?> =(index index.p) %_ $ node-list t.node-list graph (add-node-at-index graph index node mark) (~(get by graphs) [ship term]) ?~ result [~ ~] + ~& (...
[bsp][stm32] update stm32h743-st-nucleo/board/SConscript to fix compiling error after dist
import rtconfig from building import * +Import('SDK_LIB') + cwd = GetCurrentDir() # add the general drivers. @@ -10,12 +12,14 @@ src += Glob('CubeMX_Config/Src/stm32h7xx_hal_msp.c') path = [cwd] path += [cwd + '/CubeMX_Config/Inc'] +startup_path_prefix = SDK_LIB + if rtconfig.CROSS_TOOL == 'gcc': - src += [cwd + '/../....
[tools] Fix the lib paths not found issue.
@@ -22,7 +22,7 @@ from xml.etree.ElementTree import SubElement from building import * -MODULE_VER_NUM = 0 +MODULE_VER_NUM = 1 source_pattern = ['*.c', '*.cpp', '*.cxx', '*.s', '*.S', '*.asm'] @@ -301,10 +301,12 @@ def HandleToolOption(tools, env, project, reset): option = linker_paths_option # remove old lib paths for ...
input: move a static function close to its use
@@ -361,31 +361,6 @@ static bool input_cmpCov(struct dynfile_t* item1, struct dynfile_t* item2) { return false; } -/* Number of tests taken, based on how fresh the input is */ -static size_t input_numTests(run_t* run, struct dynfile_t* dynfile) { - size_t total = run->global->io.dynfileqCnt; - if (dynfile->idx > total)...
grib_filter: Fail if key of type double (e.g. values) is assigned to a string
@@ -390,7 +390,8 @@ static int pack_expression(grib_accessor* a, grib_expression* e) len = 1; ret = grib_expression_evaluate_long(hand, e, &lval); if (ret != GRIB_SUCCESS) { - grib_context_log(a->context, GRIB_LOG_ERROR, "Unable to set %s as long", a->name); + grib_context_log(a->context, GRIB_LOG_ERROR, "Unable to set...
zoul: only pass -DDATE on platform.o The other files do not need this definition.
@@ -20,7 +20,10 @@ BSL_SPEED ?= 460800 # Works in Linux and probably on OSX too (RTCC example) COMPILE_DATE := $(shell date +"%02u %02d %02m %02y %02H %02M %02S") -CFLAGS += -DDATE="\"$(COMPILE_DATE)\"" +CFLAGS_DATE ?= -DDATE="\"$(COMPILE_DATE)\"" + +# Compile platform.o with -DDATE, other files without it. +$(OBJECTDI...
Time cluster: fix compilation on Qt < 5.5 (2)
@@ -116,7 +116,7 @@ void DeRestPluginPrivate::sendTimeClusterResponse(const deCONZ::ApsDataIndicatio DBG_Printf(DBG_INFO, "Time_Cluster time_dst_end %s %ld\n", dstend.toUTC().toString(Qt::ISODate).toStdString().c_str(), (long) time_dst_end); DBG_Printf(DBG_INFO, "Time_Cluster time_dst_shift %d\n", (int) time_dst_shift)...
honggfuzz: displayDisplay can be called anytime
@@ -64,14 +64,12 @@ static void exitWithMsg(const char* msg, int exit_code) { } } -static bool showDisplay = true; static void sigHandler(int sig) { /* We should not terminate upon SIGALRM delivery */ if (sig == SIGALRM) { if (fuzz_shouldTerminate()) { exitWithMsg("Terminating forcefully\n", EXIT_FAILURE); } - showDisp...
EFAS: Add new MARS streams
1054 rjtd Tokyo 1055 cwao Montreal 1056 ammc Melbourne -1057 efas European Flood Awareness System +1057 efas European Flood Awareness System (EFAS) +1058 efra European Flood Awareness System (EFAS) reanalysis +1059 efrf European Flood Awareness System (EFAS) hindcasts +1060 efse European Flood Awareness System (EFAS) s...
fix err using rpa for confirmation calculation
@@ -1990,7 +1990,7 @@ void btm_ble_conn_complete(UINT8 *p, UINT16 evt_len, BOOLEAN enhanced) } #if (BLE_PRIVACY_SPT == TRUE ) peer_addr_type = bda_type; - match = btm_identity_addr_to_random_pseudo (bda, &bda_type, TRUE); + match = btm_identity_addr_to_random_pseudo (bda, &bda_type, FALSE); /* possiblly receive connect...
stats: Move misplaced comment block Type: fix Fixes:
@@ -90,9 +90,6 @@ typedef struct uint64_t epoch; } stat_segment_access_t; -/* - * Returns 0 on success, -1 on failure (timeout) - */ static inline uint64_t _time_now_nsec (void) { @@ -108,6 +105,9 @@ stat_segment_adjust (stat_client_main_t * sm, void *data) ((char *) data - (char *) sm->shared_header->base)); } +/* + *...
Flip canvas perspective projection;
@@ -88,7 +88,7 @@ void lovrCanvasBind(Canvas* canvas) { lovrGraphicsSetProjection(projection); } else { mat4 projection = lovrGraphicsGetProjection(); - float b = projection[5]; + float b = -projection[5]; float c = projection[10]; float d = projection[14]; float aspect = (float) width / height;
Add github action badge to README.md
@@ -12,7 +12,7 @@ following components: * **Octave plugin** (provides some basic functionality only); ## Build Status - +- GitHub: ![example workflow](https://github.com/myriadrf/LimeSuite/actions/workflows/cmake.yml/badge.svg) - AppVeyor: [![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/stwfarvq0j...
Undoing test commit
@@ -288,7 +288,7 @@ QvisSetupHostProfilesAndConfigWindow::installConfigFile(const QString& srcFilena // in installConfigFile. // // Kathleen Biagas, Thu Nov 7 11:51:53 PST 2019 -// Info now stored in QListWidgets and QStringlists +// Info now stored in QListWidgets and QStringlists. // // Kevin Griffin, Thu Nov 7 17:43...
update mapkit_sdk for Linux
@@ -12,13 +12,14 @@ ENDIF() IF (OS_LINUX) # Qt + protobuf 2.6.1 + GL headers + GLES2 - DECLARE_EXTERNAL_RESOURCE(MAPKIT_SDK sbr:648642209) + DECLARE_EXTERNAL_RESOURCE(MAPKIT_SDK sbr:649684872) CFLAGS( GLOBAL "-I$MAPKIT_SDK_RESOURCE_GLOBAL/mapkit_sdk/include" GLOBAL "-I$MAPKIT_SDK_RESOURCE_GLOBAL/mapkit_sdk/local/linux....
fixes u3n_prog pointers in u3n_ream()
@@ -2346,6 +2346,14 @@ _n_ream(u3_noun kev) { c3_w i_w; u3n_prog* pog_u = u3to(u3n_prog, u3t(kev)); + + // fix up pointers for loom portability + pog_u->byc_u.ops_y = (c3_y*) _n_prog_dat(pog_u); + pog_u->lit_u.non = (u3_noun*) (pog_u->byc_u.ops_y + pog_u->byc_u.len_w); + pog_u->mem_u.sot_u = (u3n_memo*) (pog_u->lit_u.n...
add new packages to cleanpackage target
@@ -656,6 +656,12 @@ cleanpackage: @$(rm) -r debian/oidc-agent-prompt @$(rm) -r debian/oidc-agent-prompt.debhelper.log @$(rm) -r debian/oidc-agent-prompt.substvars + @$(rm) -r debian/oidc-agent-cli + @$(rm) -r debian/oidc-agent-cli.debhelper.log + @$(rm) -r debian/oidc-agent-cli.substvars + @$(rm) -r debian/oidc-agent-...
[CHAIN] move handleing for contract GetQuery from ChainWorker to ChainService contract can't support parallel get query yet
@@ -283,7 +283,6 @@ func (cs *ChainService) Receive(context actor.Context) { *message.GetTx, *message.GetReceipt, *message.GetABI, - *message.GetQuery, *message.GetStateQuery, *message.SyncBlockState, *message.GetElected, @@ -310,7 +309,18 @@ func (cs *ChainService) Receive(context actor.Context) { if err != nil { logg...
Cast socklen_t to size_t in assert comparison This causes a warning otherwise when socklen_t is signed (Watt32).
@@ -765,7 +765,7 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr) ERR_raise_data(ERR_LIB_SYS, get_last_socket_error(), "calling getsockopt()"); } else { - OPENSSL_assert(sz <= sizeof(struct timeval)); + OPENSSL_assert((size_t)sz <= sizeof(struct timeval)); ret = (int)sz; } # endif @@ -816,7 +816,7 @@ sta...
Add goto statement so that inject error thread executes the appropriate cleanup statements
@@ -143,6 +143,8 @@ int main(int argc, char *argv[]) res = inject_ras_fatal_error(fpga_device_token, 0); ON_ERR_GOTO(res, out_destroy_tok, "unsetting inject error register"); + + goto out_destroy_tok; } else { res = fpgaOpen(fpga_device_token, &fpga_device_handle, FPGA_OPEN_SHARED); ON_ERR_GOTO(res, out_close, "opening...
Add missing mutex unlock on error Fixes <https://github.com/Genymobile/scrcpy/issues/1770> Reported-by: lordnn
@@ -361,12 +361,14 @@ recorder_push(struct recorder *recorder, const AVPacket *packet) { if (recorder->failed) { // reject any new packet (this will stop the stream) + mutex_unlock(recorder->mutex); return false; } struct record_packet *rec = record_packet_new(packet); if (!rec) { LOGC("Could not allocate record packet...
Fix handling of syscalls with zero time
@@ -2549,10 +2549,10 @@ static boolean stat_compare(void *za, void *zb) return sb->usecs > sa->usecs; } -static inline char *print_ts(buffer b, u64 x) +static inline char *print_usecs(buffer b, u64 x) { buffer_clear(b); - print_timestamp(b, microseconds(x)); + bprintf(b, "%d.%06d", x / MILLION, x % MILLION); buffer_wri...
Handle Opaque PK EC keys in ssl_get_ecdh_params_from_cert()
@@ -2863,18 +2863,45 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl ) psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; unsigned char buf[ PSA_KEY_EXPORT_ECC_KEY_PAIR_MAX_SIZE(PSA_VENDOR_ECC_MAX_CURVE_BITS)]; - psa_key_attributes_t key_attributes; + psa_key_attributes_t key_attributes = PSA_KE...
fs/lustre-client: bump to v2.12.7
@@ -64,7 +64,7 @@ BuildRequires: kernel-abi-whitelists %undefine with_zfs %endif -%{!?version: %global version 2.12.6} +%{!?version: %global version 2.12.7} %if 0%{?suse_version} %{!?kver: %global kver %(readlink /usr/src/linux | sed 's/linux-//' | sed 's/$/-default/')} %else