message
stringlengths
6
474
diff
stringlengths
8
5.22k
lwip-2.0.2: always use the force option for barrelfish pbuf header
@@ -244,7 +244,7 @@ pbuf_header_impl(struct pbuf *p, s16_t header_size_increment, u8_t force) u8_t pbuf_header(struct pbuf *p, s16_t header_size_increment) { - return pbuf_header_impl(p, header_size_increment, 0); + return pbuf_header_impl(p, header_size_increment, 1); } /**
reverted macOS_gcc10.yml
@@ -53,9 +53,7 @@ jobs: swig \ yajl \ zeromq - brew install openjdk@11 - ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk - export PATH="/usr/local/opt/openjdk@11/bin:$PATH" + brew install --cask adoptopenjdk - name: Setup Build Environment run: |
use cudagdb for cuda programs
@@ -78,3 +78,13 @@ rule("cuda.env") target:add("includedirs", cuda.includedirs) end) + before_run(function (target) + import("core.project.config") + import("lib.detect.find_tool") + + local debugger = config.get("debugger") + if not debugger and find_tool("cudagdb") then + config.set("debugger", "cudagdb") + end + end...
esp_http_client: fix redirect by resetting location before parsing Closes
@@ -512,6 +512,10 @@ static esp_err_t esp_http_client_prepare(esp_http_client_handle_t client) client->process_again = 0; client->response->data_process = 0; client->first_line_prepared = false; + if (client->location != NULL) { + free(client->location); + client->location = NULL; + } http_parser_init(client->parser, H...
peview: Remove unused win10 sets support
@@ -158,10 +158,6 @@ INT CALLBACK PvpPropSheetProc( PhSetWindowContext(hwndDlg, UCHAR_MAX, context); SetWindowLongPtr(hwndDlg, GWLP_WNDPROC, (LONG_PTR)PvpPropSheetWndProc); - // HACK HACK HACK - if (WindowsVersion >= WINDOWS_10_RS3) - PhSetWindowStyle(hwndDlg, WS_POPUP, 0); - if (MinimumSize.left == -1) { RECT rect;
Split the "contains" test into "start" and "contains"
@@ -40,13 +40,16 @@ describe("Pallene lexer", function() it("can lex some keywords", function() assert_lex("and", {"and"}, {}) + assert_lex("else", {"else"}, {}) + assert_lex("if", {"if"}, {}) assert_lex("function", {"function"}, {}) end) - it("can lex keywords that contain other keywords", function() - assert_lex("if"...
src: Restructure parts of the website
"path": "doc/BIGPICTURE.md" } }, - { - "name": "Meta-Specification", - "type": "staticfile", - "options": { - "path": "doc/METADATA.ini" - } - }, { "name": "FAQ", "type": "staticfile", }] }, { - "name": "Keynames", + "name": "Installation", "type": "staticlist", - "ref": "keynames", - "dev-comment": "", + "ref": "insta...
make: cortex-a7: pass valid -mfpu Correct fpu flag is needed for successful build in case of multi-lib toolchain
@@ -20,7 +20,7 @@ ifneq (, $(findstring arm-, $(TARGET))) CC = $(CROSS)gcc CFLAGS += -Wall -Wstrict-prototypes -I$(SRCDIR) -nostartfiles -nostdlib\ - -mcpu=cortex-a7 -mtune=cortex-a7 -mfloat-abi=hard -mthumb -mthumb-interwork\ + -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -mthumb -mthumb-interwor...
parser: Use platform slashes to fix the Windows build (whoops).
@@ -689,30 +689,42 @@ static void link_module_to(lily_module_entry *target, lily_module_entry *to_link target->module_chain = new_link; } +#define PACKAGE_DIR LILY_PATH_SLASH "packages" LILY_PATH_SLASH + +#define FIRST_PATH "%s" LILY_PATH_SLASH "%s.lily" +#define SECOND_PATH "%s" LILY_PATH_SLASH "%s." LILY_LIB_SUFFIX +...
Return an error from mbedtls_ssl_handshake_step() if neither client nor server This prevents an infinite loop in mbedtls_ssl_handshake(). Fixes
@@ -3243,6 +3243,10 @@ int mbedtls_ssl_handshake_step( mbedtls_ssl_context *ssl ) if( ret != 0 ) goto cleanup; + /* If ssl->conf->endpoint is not one of MBEDTLS_SSL_IS_CLIENT or + * MBEDTLS_SSL_IS_SERVER, this is the return code we give */ + ret = MBEDTLS_ERR_SSL_BAD_INPUT_DATA; + #if defined(MBEDTLS_SSL_CLI_C) if( ssl...
debug: num_bl(oc)ks is rename to ACK Block Count with draft-08
@@ -288,8 +288,8 @@ void print_frame(ngtcp2_dir dir, const ngtcp2_frame *fr) { case NGTCP2_FRAME_ACK: { print_indent(); fprintf(outfile, - "num_blks=%zu largest_ack=%" PRIu64 " ack_delay=%" PRIu64 "\n", - fr->ack.num_blks, fr->ack.largest_ack, fr->ack.ack_delay); + "largest_ack=%" PRIu64 " ack_delay=%" PRIu64 " ack_blo...
revert back to building via github tarball
@@ -11,9 +11,9 @@ License: MIT URL: https://github.com/indigo-dc/oidc-agent # use `make rpmsource` to generate the required tarball #Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/heads/master.zip -Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/heads/docker-builds.zip +#Source0: https://gi...
try bootstrapping libstdc++ on sles
@@ -98,7 +98,7 @@ cp /etc/zypp/zypp.conf $SINGULARITY_ROOTFS/$ZYPP_CONF echo 'cachedir=/var/cache/zypp-bootstrap' >> "$SINGULARITY_ROOTFS/$ZYPP_CONF" cp /etc/zypp/repos.d/* $SINGULARITY_ROOTFS/$ZYPP_CONF_DIRNAME/repos.d/. -if ! eval "$INSTALL_CMD -c $SINGULARITY_ROOTFS/$ZYPP_CONF --root $SINGULARITY_ROOTFS --gpg-auto-i...
set debug loglevel
@@ -320,6 +320,7 @@ func Start(filename string) error { filePerms := os.FileMode(0644) internal.CreateLogFile(filepath.Join("/tmp/scope.log"), filePerms) + internal.SetDebug() cfgData, err := ioutil.ReadFile(filename) if err != nil {
Clarify line length policy
@@ -199,7 +199,7 @@ There are many advantages to using a single sentence per line mostly having to d This practice, of course, does not apply to source code. It applies only to ascii files that are intended to represent, more or less, human readable prose. Going forward, we will not reformat existing documentation to a...
Update config template to include multicast module
@@ -962,6 +962,7 @@ int config_write_template(const char *file, const struct config *cfg) (void)re_fprintf(f, "#module_app\t\t" "ctrl_tcp" MOD_EXT "\n"); (void)re_fprintf(f, "module_app\t\t" "vidloop"MOD_EXT"\n"); (void)re_fprintf(f, "#module_app\t\t" "httpreq"MOD_EXT"\n"); + (void)re_fprintf(f, "#module_app\t\t" "mult...
Fix gplogfilter csv generation The result of gplogfilter is ambiguously perceived by parsers. To fix this, the standard csv.writer class is used to generate csv.
@@ -42,11 +42,15 @@ Module contents: spiffInterval() - get begin/end datetime given any subset of begin/end/duration """ +import io +import csv from datetime import date, datetime import re import sys import time +csvDelimeter = '|' + timestampPattern = re.compile(r'\d\d\d\d-\d\d-\d\d \d\d:\d\d:\d\d(\.\d*)?') # This pa...
latex fix; removed exta {
@@ -697,7 +697,7 @@ where the angular lensing convergence power spectrum $C^{ab}_\ell$ is given abov Note that, in the above, ``Galaxy'' and ``Lensing'' can be replaced by any spin-0 and spin-2 fields on the sphere respectively (e.g. the CMB lensing convergence would play the same role as the galaxy overdensity field i...
Do not require Perl for MSVC if CMake >= 3.4
@@ -119,7 +119,9 @@ endif () # Only generate .def for dll on MSVC and always produce pdb files for debug and release if(MSVC) + if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 3.4) set(OpenBLAS_DEF_FILE "${PROJECT_BINARY_DIR}/openblas.def") + endif() set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Zi") set(...
fix newline bug in prompt
package cmd import ( + "bufio" "fmt" "os" @@ -20,19 +21,22 @@ func sessionByID(id int) history.SessionList { } sessionCount := len(sessions) if sessionCount != 1 { - util.ErrAndExit("error expected a single session, saw: %d", sessionCount) + util.ErrAndExit("Session not found. Session count: %d", sessionCount) } return...
PR pipeline: use 'version: every' for downstream jobs
@@ -136,6 +136,7 @@ jobs: - get: bin_gpdb resource: bin_gpdb_centos passed: [compile_gpdb_centos6] + version: every trigger: true - get: centos-gpdb-dev-6 - task: ic_gpdb @@ -164,6 +165,7 @@ jobs: - get: bin_gpdb resource: bin_gpdb_centos passed: [compile_gpdb_centos6] + version: every trigger: true - get: centos-gpdb-...
Change defaults for Particle
#ifndef m3_config_h #define m3_config_h +//TODO: move to a separate file +# if defined(PARTICLE) +# define d_m3LogOutput false +# define d_m3MaxFunctionStackHeight 256 +# endif + # if defined(__clang__) # define M3_COMPILER_CLANG 1 # elif defined(__GNUC__) || defined(__GNUG__)
.gitattributes: Remove special text handling of stm32 usbdev files.
tests/basics/string_cr_conversion.py -text tests/basics/string_crlf_conversion.py -text ports/stm32/pybcdc.inf_template -text -ports/stm32/usbd_* -text -ports/stm32/usbdev/** -text ports/stm32/usbhost/** -text ports/cc3200/hal/aes.c -text ports/cc3200/hal/aes.h -text
travis CHANGE move to Ubuntu Xenial (16.04)
language: c sudo: required -dist: trusty +dist: xenial branches: only: - libyang2 @@ -34,7 +34,7 @@ jobs: branch_pattern: libyang2 before_install: # check if something changed from the last coverity build - - if [ `git rev-parse HEAD` = `cat $HOME/cache/coveritybuild` ]; then echo "Codebase did not change from previous...
lib/libc/lib_localtime : Fix miscalculation on strncpy On converting from strcpy to strncpy, should apply "+1" for null termination.
@@ -536,9 +536,9 @@ static int tzload(FAR const char *name, FAR struct state_s *const sp, const int goto oops; } - strncpy(fullname, p, p_len); + strncpy(fullname, p, p_len + 1); strncat(fullname, "/", strlen("/")); - strncat(fullname, name, name_len + 1); + strncat(fullname, name, name_len); /* Set doaccess if '.' (as...
Testing: Remove information about crypto variants
@@ -11,8 +11,6 @@ doc/help/kdb-get.md for INI We disabled the tests -- `testmod_crypto_botan`, -- `testmod_crypto_openssl`, - `testmod_dbus`, - `testmod_dbusrecv`, - `testmod_fcrypt`, @@ -98,8 +96,6 @@ ASAN disables the following parts during cmake as they throw errors: - SWIG - GLIB - IO (+async notification example) ...
Allow overriding CMAKE_POSITION_INDEPENDENT_CODE from command line MIPS EABI that is used for i.a. psp doesn't support PIC, so we need to disable it when compiling PSP version
@@ -119,7 +119,9 @@ endif() set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) +if (NOT DEFINED CMAKE_POSITION_INDEPENDENT_CODE) set(CMAKE_POSITION_INDEPENDENT_CODE ON) +endif() if(MSVC)
better summary output
@@ -1911,7 +1911,7 @@ if(mp0c != 0) if(mp1c != 0) { printf("message pair M14E4...............: %lld", mp1c); - if(mp80c != 0) + if(mp81c != 0) { printf(" (warning: %lld not replaycount checked)", mp81c); } @@ -1920,7 +1920,7 @@ if(mp1c != 0) if(mp2c != 0) { printf("message pair M32E2...............: %lld", mp2c); - if(...
rpc: error code nit
@@ -32,8 +32,9 @@ ssize_t crpc_send_one(struct crpc_session *s, struct crpc_hdr chdr; ssize_t ret; - if (len > SRPC_BUF_SIZE) - return -ENOBUFS; + /* implementation is currently limited to a maximum payload size */ + if (unlikely(len > SRPC_BUF_SIZE)) + return -E2BIG; /* adjust the window */ if (atomic_read(&s->win_use...
sse2: correct typos in simde_x_mm_broadcastlow_pd Correct typos:- inpu -> input altivec_s64 -> altivec_f64. Also remove duplicate SIMDE_ARM_NEON_A64V8_NATIVE case.
@@ -707,7 +707,7 @@ simde_mm_move_sd (simde__m128d a, simde__m128d b) { SIMDE_FUNCTION_ATTRIBUTES simde__m128d simde_x_mm_broadcastlow_pd(simde__m128d a) { - /* This function broadcasts the first element in the inpu vector to + /* This function broadcasts the first element in the input vector to * all lanes. It is used...
Initialize new go async API
@@ -30,6 +30,12 @@ type callSafeWork struct { ret chan callReturnSafeWork } +type callSafeAsyncWork struct { + function string + args []interface{} + ret chan callReturnSafeWork +} + const PtrSizeInBytes = (32 << uintptr(^uintptr(0)>>63)) >> 3 var queue = make(chan interface{}, 1) @@ -89,6 +95,11 @@ func Initialize() e...
Now getting correct extents for vti files
@@ -543,6 +543,9 @@ avtVTKFileReader::ReadInFile(int _domain) // Kathleen Biagas, Fri Feb 6 06:00:16 PST 2015 // Added ability for parsing 'MeshName' field data from vtk file. // +// Matt Larsen, Fri Mar 2 09:00:15 PST 2018 +// Getting image data extents correctly from vti files +// // *********************************...
unclear the blacklist.
@@ -650,6 +650,9 @@ uint16_t neighbors_getLinkMetric(uint8_t index) { ){ // PDR too low, put the neighbor in blacklist neighbors_vars.neighbors[index].inBlacklist = TRUE; + } else { + // Remove the neighbor from blacklist + neighbors_vars.neighbors[index].inBlacklist = FALSE; } } return rankIncrease;
nacm BUGFIX invalid index use Fixes
@@ -223,12 +223,15 @@ cleanup_unlock: } static struct sr_nacm_group * -sr_nacm_group_find(const char *group_name) +sr_nacm_group_find(const char *group_name, uint32_t *idx) { uint32_t i; for (i = 0; i < nacm.group_count; ++i) { if (!strcmp(nacm.groups[i].name, group_name)) { + if (idx) { + *idx = i; + } return &nacm.gr...
ws_socket(): check socket() call for failure
@@ -2650,7 +2650,8 @@ ws_socket (int *listener) { FATAL ("Unable to set server: %s.", gai_strerror (errno)); /* Create a TCP socket. */ - *listener = socket (ai->ai_family, ai->ai_socktype, ai->ai_protocol); + if ((*listener = socket (ai->ai_family, ai->ai_socktype, ai->ai_protocol)) == -1) + FATAL ("Unable to open soc...
iOS: fix image rotation issue
*/ } + + // normalize orientation + if ([theImage imageOrientation] != UIImageOrientationUp) { + + CGImageRef cgImage = [img CGImage]; + CGColorSpaceRef rgb_space = CGColorSpaceCreateDeviceRGB(); + + int curWidth = CGImageGetWidth(cgImage); + int curHeight = CGImageGetHeight(cgImage); + + int newWidth = curWidth; + int...
Apply binding animation flag constants. Also adds experimental option to kill when frame match is unavailable.
@@ -21307,13 +21307,15 @@ void adjust_bind(entity *e) { if(e->binding.ent) { + if(e->binding.ani_bind) { if(e->animnum != e->binding.ent->animnum) { if(!validanim(e, e->binding.ent->animnum)) { - if(e->binding.ani_bind & 4) + // Don't have the animation? Kill ourself. + if(e->binding.ani_bind & BINDING_ANI_ANIMATION_KI...
* Fix astylerc
---style=java ---pad-header ---pad-oper ---unpad-paren ---indent=spaces=2 ---indent-classes ---indent-modifiers ---indent-preproc-define ---indent-col1-comments ---min-conditional-indent=0 ---max-instatement-indent=120 ---fill-empty-lines --align-pointer=name --align-reference=name ---convert-tabs --close-templates +--...
Adapt HMAC proof to new struct name in s2n_hash.h
@@ -60,7 +60,7 @@ let setup_hash_state pstate = do { u0 <- crucible_fresh_var "u" (llvm_array 16 (llvm_int 64)); num0 <- crucible_fresh_var "num" (llvm_int 32); md_len0 <- crucible_fresh_var "md_len" (llvm_int 32); - (_, pimpl) <- ptr_to_fresh "impl" (llvm_struct "struct.s2n_hash_implementation"); + (_, pimpl) <- ptr_t...
Allow more error codes
@@ -112,6 +112,9 @@ static int conn_call_recv_crypto_data(ngtcp2_conn *conn, switch (rv) { case 0: case NGTCP2_ERR_CRYPTO: + case NGTCP2_ERR_REQUIRED_TRANSPORT_PARAM: + case NGTCP2_ERR_MALFORMED_TRANSPORT_PARAM: + case NGTCP2_ERR_TRANSPORT_PARAM: case NGTCP2_ERR_PROTO: case NGTCP2_ERR_CALLBACK_FAILURE: return rv;
arch:arm64: add support for nuttx arm64 Toolchain Selection Summary: 1. to enable Toolchain select Kconfig option, making something depend on the opton to be configured with menuconfig
if ARCH_ARM64 comment "ARM64 Options" +choice + prompt "ARM64 Toolchain Selection" + default ARM64_TOOLCHAIN_GNU_EABI + +config ARM64_TOOLCHAIN_GNU_EABI + bool "Generic GNU EABI toolchain" + select ARCH_TOOLCHAIN_GNU + ---help--- + This option should work for any modern GNU toolchain (GCC 4.5 or newer) + +config ARM64_...
11. demacrotizes %6, %7, %8, and %9
[%0 =(p.hed p.tal)] :: {$6 b/* c/* d/*} - $(fol =>(fol [2 [0 1] 2 [1 c d] [1 0] 2 [1 2 3] [1 0] 4 4 b])) + =+ ben=$(fol b.fol) + ?. ?=($0 -.ben) ben + ?: =(& p.ben) $(fol c.fol) + ?: =(| p.ben) $(fol d.fol) + [%2 tax] + :: + {$7 b/* c/*} + =+ ben=$(fol b.fol) + ?. ?=($0 -.ben) ben + $(sub p.ben, fol c.fol) :: - {$7 b/*...
Remove sym references
@@ -87,6 +87,7 @@ lv_obj_t * lv_rotary_create(lv_obj_t * par, const lv_obj_t * copy) ext->sensitivity = 1; ext->threshold = 1; ext->dragging = false; + ext->type = LV_ROTARY_TYPE_NORMAL; lv_style_list_init(&ext->style_knob); /*The signal and design functions are not copied so set them here*/ @@ -110,8 +111,7 @@ lv_obj_...
py/persistentcode: Enable persistent code saving for Windows ports.
@@ -756,7 +756,7 @@ void mp_raw_code_save(mp_raw_code_t *rc, mp_print_t *print) { // here we define mp_raw_code_save_file depending on the port // TODO abstract this away properly -#if defined(__i386__) || defined(__x86_64__) || defined(__unix__) +#if defined(__i386__) || defined(__x86_64__) || defined(_WIN32) || defin...
board/vell/led.c: Format with clang-format BRANCH=none TEST=none
#define LED_ON_TIME_MS (1000 * MSEC) #define LED_ON_TICKS (LED_ON_TIME_MS / LED_TICK_INTERVAL_MS) -const enum ec_led_id supported_led_ids[] = { - EC_LED_ID_LEFT_LED, - EC_LED_ID_RIGHT_LED -}; +const enum ec_led_id supported_led_ids[] = { EC_LED_ID_LEFT_LED, + EC_LED_ID_RIGHT_LED }; const int supported_led_ids_count = A...
Temporarily add InternetChecksum_t for PSA, improve parser local var types
@@ -18,9 +18,13 @@ from hlir16.utils_hlir16 import * #[ #define __HEADER_INFO_H__ #[ #include <byteswap.h> +#[ #include <stdbool.h> #[ // TODO add documentation -#[ #define MODIFIED 1 +#[ #define MODIFIED true + +# TODO put this in a proper header +#[ typedef struct {} InternetChecksum_t; #{ typedef struct parsed_field...
Utilities: Deduplication support for DeviceProperties
#include "ocvalidate.h" #include "OcValidateLib.h" +STATIC +BOOLEAN +DevPropsAddHasDuplication ( + IN CONST VOID *PrimaryEntry, + IN CONST VOID *SecondaryEntry + ) +{ + CONST OC_STRING *DevPropsAddPrimaryEntry; + CONST OC_STRING *DevPropsAddSecondaryEntry; + CONST CHAR8 *DevPropsAddPrimaryDevicePathString; + CONST CHAR...
doc: Change a news entry
@@ -195,7 +195,7 @@ you up to date with the multi-language support provided by Elektra. - Checks for `kdbCommit` have been added to [kdb plugin-check](../help/kdb-plugin-check.md). _(Vid Leskovar)_ - add PID file config setting for kdb-run-rest-frontend _(Markus Raab)_ - Added `kdb meta-show` command which prints out a...
Allow eventGroup to occur before fadeIn on scene init
@@ -3,8 +3,8 @@ const id = "EVENT_GROUP"; const fields = [ { key: "true", - type: "events" - } + type: "events", + }, ]; const compile = (input, helpers) => { @@ -15,5 +15,6 @@ const compile = (input, helpers) => { module.exports = { id, fields, - compile + compile, + allowedBeforeInitFade: true, };
Disable Gpio on F091 board It seems to go out of memory otherwise.
@@ -18,7 +18,7 @@ matrix: include: - env: CMAKE_OPTIONS="-DTOOLCHAIN_PREFIX=/home/travis/gcc-arm-none-eabi-6-2017-q1-update -DCHIBIOS_VERSION=17.6.2 -DCHIBIOS_BOARD=ST_STM32F4_DISCOVERY -DTARGET_SERIES=STM32F4xx -DUSE_FPU=TRUE -DCMAKE_BUILD_TYPE=MinSizeRel -DNF_FEATURE_DEBUGGER=TRUE -DNF_FEATURE_RTC=ON -DAPI_Windows.De...
Docs: added references to alter user
@@ -51,7 +51,10 @@ ALTER USER <varname>name</varname> [ [WITH] <varname>option</varname> [ ... ] ]< </section> <section id="section5"> <title>See Also</title> - <p><codeph><xref href="ALTER_ROLE.xml#topic1" type="topic" format="dita"/></codeph></p> + <p><codeph><xref href="ALTER_ROLE.xml#topic1" type="topic" format="di...
Add supporting LibreSSL 2.7
#include <stdlib.h> /* backports for OpenSSL 1.0.2 */ -#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) +#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL) #define BIO_get_data(bio) ((bio)->ptr) #define BIO_set_data(bio, p)...
docs: fix commit hash and link for bpf_redirect_map() The link wrongly pointed to the same commit as for bpf_sk_redirect_map().
@@ -138,7 +138,7 @@ Helper | Kernel version | Commit `BPF_FUNC_probe_read_str()` | 4.11 | [`a5e8c07059d0`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a5e8c07059d0f0b31737408711d44794928ac218) `BPF_FUNC_probe_write_user()` | 4.8 | [`96ae52279594`](https://git.kernel.org/cgit/linux/kernel/...
npu2: hw-procedures: Add comments denoting procedure number There are comments in this file to indicate where each numbered procedure from the programming guide is implemented, for easy searching. Add a couple which were missing. Acked-By: Alistair Popple
@@ -312,6 +312,7 @@ static uint32_t phy_reset_complete(struct npu2_dev *ndev) } DEFINE_PROCEDURE(phy_reset, phy_reset_wait, phy_reset_complete); +/* Procedure 1.2.6 - I/O PHY Tx Impedance Calibration */ static uint32_t phy_tx_zcal(struct npu2_dev *ndev) { if (ndev->npu->tx_zcal_complete[ndev->index > 2]) @@ -502,6 +503...
OcMainLib: Update kext blocker logs
@@ -413,7 +413,7 @@ OcKernelBlockKexts ( Exclude = AsciiStrCmp (Strategy, "Exclude") == 0; // - // TODO: Implement prelinked exclusion first, then cacheless and mkext. + // TODO: Implement cacheless and mkext exclusion if possible. // if (CacheType == CacheTypeCacheless) { Status = CachelessContextBlock (Context, Targe...
input: return value in FLB_INPUT_RETURN macro to fit input collect callbacks.
@@ -510,7 +510,7 @@ static inline void flb_input_return_do(int ret) { #define FLB_INPUT_RETURN(x) \ flb_input_return_do(x); \ - return + return x; static inline int flb_input_buf_paused(struct flb_input_instance *i) {
Fix typo to let serve-expired-ttl work with ub_ctx_set_option(), by Florian Obser
12 December 2019: Ralph - Master is 1.9.7 in development. + - Fix typo to let serve-expired-ttl work with ub_ctx_set_option(), by + Florian Obser 10 December 2019: Wouter - Fix to make auth zone IXFR to fallback to AXFR if a single
opae-sdk: add support to crate rpm on rhel 8 and rhel 9
@@ -68,10 +68,10 @@ OPAE headers, tools, sample source, and documentation %build %cmake -DOPAE_MINIMAL_BUILD=ON -%if 0%{?rhel} - %make_build -%else +%if 0%{rhel} > 8 %cmake_build +%else + %make_build %endif %install @@ -130,10 +130,10 @@ cp binaries/opae.io/opae/*.py %{buildroot}%{_usr}/src/opae/samples/opae.io/opae cp...
add dns requirements for fat tests issue:DEVTOOLS-4045
@@ -25,6 +25,7 @@ CANON_MDS_RESOURCE_REGEX = re.compile(re.escape(MDS_URI_PREFIX) + r'(.*?)($|#)') CANON_SBR_RESOURCE_REGEX = re.compile(r'(sbr:/?/?(\d+))') VALID_NETWORK_REQUIREMENTS = ("full", "restricted") +VALID_DNS_REQUIREMENTS = ("default", "local", "dns64") BLOCK_SEPARATOR = '====================================...
Fix duplicate KEM assignment in pq_kem_test
@@ -71,7 +71,6 @@ static const struct s2n_kem_test_vector test_vectors[] = { }, { .kem = &s2n_kyber_512_r3, - .kem = &s2n_sike_p434_r3, .asm_is_enabled = s2n_pq_no_asm_available, .enable_asm = s2n_pq_noop_asm, .disable_asm = s2n_pq_noop_asm,
Do fast special cases for +slaw instead of always calling +slay. +slay is a giant, recursive, slow parser combinator. +slaw is called on every beam handling. In actual usage, we can special case based on the passed in type and use a much smaller parser.
~/ %slaw |= {mod/@tas txt/@ta} ^- (unit @) + ?+ mod + :: slow fallback case to the full slay + :: =+ con=(slay txt) ?.(&(?=({~ $$ @ @} con) =(p.p.u.con mod)) ~ [~ q.p.u.con]) + :: + %p + (rust (trip txt) ;~(pfix sig fed:ag)) + :: + %ud + (rust (trip txt) dem:ag) + :: + %ux + (rust (trip txt) ;~(pfix (jest '0x') hex:ag)...
asurada: rev1: update sensor rotation matrix TEST=`accelinfo on`, verify lid angle looks reasonable BRANCH=none Tested-by: Ting Shen
@@ -649,7 +649,8 @@ static struct bmi_drv_data_t g_bmi160_data; static struct stprivate_data g_lis2dwl_data; /* Matrix to rotate accelerometer into standard reference frame */ -static const mat33_fp_t base_standard_ref = { +/* for rev 0 */ +static const mat33_fp_t base_standard_ref_rev0 = { {FLOAT_TO_FP(-1), 0, 0}, {0,...
filter: release temporal buffer and adjust ref pointer
@@ -98,8 +98,12 @@ void flb_filter_do(struct flb_input_instance *i_ins, flb_filter_replace(i_ins, /* input instance */ bytes, /* passed data */ out_buf, out_size); /* new data */ - data = out_buf; + /* Release new temporal buffer */ + flb_free(out_buf); + + /* Point back the 'data' pointer to the new address */ bytes =...
drivers/video: Return zero if gamma curve isn't supported in initialize_scene_gamma
@@ -824,7 +824,7 @@ static int32_t initialize_scene_gamma(uint8_t **gamma) if ((g_video_sensor_ops->get_supported_value == NULL) || (g_video_sensor_ops->get_value == NULL)) { - return -ENOTTY; + return 0; } ret = g_video_sensor_ops->get_supported_value @@ -833,7 +833,7 @@ static int32_t initialize_scene_gamma(uint8_t *...
Zoul platform.c: removing leftover PRINTF
@@ -124,7 +124,7 @@ rtc_init(void) */ /* Get the system date in the following format: wd dd mm yy hh mm ss */ - PRINTF("Setting RTC from system date: %s\n", DATE); + LOG_INFO("Setting RTC from system date: %s\n", DATE); /* Configure the RTC with the current values */ td.weekdays = (uint8_t)strtol(DATE, &next, 10); @@ -...
Always compile `app/crypto` folder
@@ -20,7 +20,7 @@ FLAVOR = debug ifndef PDIR # { GEN_IMAGES= eagle.app.v6.out GEN_BINS= eagle.app.v6.bin -OPT_MKTARGETS := coap crypto dht http mqtt pcm sjson sqlite3 tsl2561 websocket +OPT_MKTARGETS := coap dht http mqtt pcm sjson sqlite3 tsl2561 websocket OPT_MKLIBTARGETS := u8g2 ucg SEL_MKTARGETS := $(shell $(CC) -E...
Fix handle search filter strings
@@ -209,10 +209,10 @@ static int __cdecl PhpStringObjectTypeCompare( _In_ const void *elem2 ) { - PWSTR entry1 = *(PWSTR *)elem1; - PWSTR entry2 = *(PWSTR *)elem2; + PPH_STRING entry1 = *(PPH_STRING *)elem1; + PPH_STRING entry2 = *(PPH_STRING *)elem2; - return PhCompareStringZ(entry1, entry2, TRUE); + return PhCompareS...
Restrict cursor drawing in tui to visible area
@@ -163,12 +163,13 @@ void tui_cursor_move_relative(Tui_cursor* tc, Usz field_h, Usz field_w, tc->x = (Usz)x0; } -void tdraw_tui_cursor(WINDOW* win, Glyph const* gbuffer, Usz field_h, - Usz field_w, Usz ruler_spacing_y, Usz ruler_spacing_x, - Usz cursor_y, Usz cursor_x) { +void tdraw_tui_cursor(WINDOW* win, int win_h, ...
change how we initilize the array. See if that makes KWStyle happy
@@ -40,12 +40,9 @@ struct s2n_array *s2n_array_new(size_t element_size) struct s2n_blob mem = {0}; GUARD_PTR(s2n_alloc(&mem, sizeof(struct s2n_array))); + struct s2n_array initilizer = {.mem = {0}, .num_of_elements = 0, .capacity = 0, .element_size = element_size}; struct s2n_array *array = (void *) mem.data; - array->...
YAMBi: Catch lexer exceptions
* */ +#include <stdexcept> + #include <kdb.hpp> #include <kdbconfig.h> +#include <kdberrors.h> #include "convert.hpp" #include "yambi.hpp" @@ -18,6 +21,9 @@ using ckdb::keyNew; using CppKey = kdb::Key; using CppKeySet = kdb::KeySet; +using std::exception; +using std::runtime_error; + namespace { @@ -56,7 +62,19 @@ int ...
README: modify information of Tizen RT We will add many documents at docs folder. This is noticed at README.
[![Build Status](https://travis-ci.org/Samsung/TizenRT.svg?branch=master)](https://travis-ci.org/Samsung/TizenRT) lightweight RTOS-based platform to support low-end IoT devices. -Please find project details like **APIs**, **Specification** and **Long-term Goals** on our [Tizen Site](https://source.tizen.org/documentati...
Removed unused histogram
@@ -1171,30 +1171,13 @@ static void compute_swapchain_display(struct swapchain_data *data) data->time_dividor = 1000000.0f; ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0.0f, 0.0f, 0.0f, 0.0f)); - if (s == OVERLAY_PARAM_ENABLED_frame_timing || - s == OVERLAY_PARAM_ENABLED_present_timing || - s == OVERLAY_PARAM_ENABLE...
get_test_evals error message
@@ -845,7 +845,7 @@ class _CatBoostBase(object): test_evals = self._object._get_test_evals() if len(test_evals) == 0: if self.is_fitted(): - raise CatboostError('You should train the model with the test set.') + raise CatboostError('The model was trained without eval set.') else: raise CatboostError('You should train t...
esp_wifi: fix esp32c3 connect fail Closes
@@ -1716,7 +1716,7 @@ ic_reset_rx_ba = 0x4000184c; ieee80211_align_eb = 0x40001850; ieee80211_ampdu_reorder = 0x40001854; ieee80211_ampdu_start_age_timer = 0x40001858; -ieee80211_encap_esfbuf = 0x4000185c; +/*ieee80211_encap_esfbuf = 0x4000185c;*/ ieee80211_is_tx_allowed = 0x40001860; ieee80211_output_pending_eb = 0x40...
Add asserts to ensure hostId > 0. hostId is 1-based (e.g. pg1-*) so it should always be > 0.
@@ -95,6 +95,8 @@ pgIsLocal(unsigned int hostId) FUNCTION_LOG_PARAM(UINT, hostId); FUNCTION_LOG_END(); + ASSERT(hostId > 0); + FUNCTION_LOG_RETURN(BOOL, !cfgOptionTest(cfgOptPgHost + hostId - 1)); } @@ -110,6 +112,8 @@ protocolLocalParam(ProtocolStorageType protocolStorageType, unsigned int hostId, FUNCTION_LOG_PARAM(U...
build: fix error messages in check_commit_msg.sh Type: fix
@@ -12,7 +12,7 @@ if [ $(echo ${FEATURES} | wc -w) -eq 0 ]; then echo "git commit 'Subject:' line must contain at least one known feature id." echo "feature id(s) must be listed before ':' and space delimited " echo "if more then one is listed." - echo "Please reffer to MAINTAINERS file (I: lines) for known feature ids...
Updated NEWS with latest v1.4 changes.
@@ -2,7 +2,7 @@ Copyright (C) 2009-2020 Gerardo Orellana <goaccess@prosoftcorp.com> * Version history: - - 1.4 [TBD] + - 1.4 [Monday, May 18, 2020] . GoAccess 1.4 Released. See ChangeLog for new features/bug-fixes. - 1.3 [Friday, November 23, 2018] . GoAccess 1.3 Released. See ChangeLog for new features/bug-fixes.
Circle-ci config for phpize link
@@ -26,6 +26,7 @@ dependencies: pre: - sudo apt-get update && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install cmake libssl-dev python3 python3-setuptools ruby ninja-build lcov build-essential libc6-dbg - sudo ln -sf /usr/bin/gcov-4.9 /usr/bin/gcov + - sudo ln -sf /opt/circleci/.phpenv/shims/phpize /usr/bin/phpiz...
Fix potential UB caused by C99 spec wording of array offset
@@ -75,11 +75,13 @@ ORCA_PURE static bool oper_has_neighboring_bang(Glyph const* gbuf, Usz h, Usz w, Glyph const* gp = gbuf + w * y + x; if (x < w && gp[1] == '*') return true; - if (x > 0 && gp[-1] == '*') + if (x > 0 && *(gp - 1) == '*') return true; if (y < h && gp[w] == '*') return true; - if (y > 0 && gp[-w] == '*...
test: add ethereum test cases test_004ParametersInit_0004TxInitSuccessGasPriceHexNullOx test_004ParametersInit_0005TxInitFailureGasLimitErrorHexFormat test_004ParametersInit_0006TxInitSuccessGasLimitHexNullOx
@@ -199,7 +199,49 @@ START_TEST(test_004ParametersInit_0003TxInitFailureErrorGasPriceHexFormat) rtnVal = BoatEthTxInit(g_ethereum_wallet_ptr, &tx_ptr, TEST_IS_SYNC_TX, "0x123G", TEST_GAS_LIMIT, TEST_RECIPIENT_ADDRESS); ck_assert(rtnVal == BOAT_ERROR_COMMON_INVALID_ARGUMENT); + BoatIotSdkDeInit(); +} +END_TEST + +START_...
nhit PP: Prevent setting nhit policy again if it was already set
@@ -68,6 +68,12 @@ ocf_error_t ocf_promotion_set_policy(ocf_promotion_policy_t policy, prev_policy = cache->conf_meta->promotion_policy_type; + if (type == prev_policy) { + ocf_cache_log(cache, log_info, "Promotion policy '%s' is already set\n", + ocf_promotion_policies[type].name); + return 0; + } + if (ocf_promotion_...
[persistence] use LOCK_CACHE() and UNLOCK_CACHE() functions.
@@ -8399,7 +8399,6 @@ void item_stats_dump(struct default_engine *engine, /* item scan structure */ typedef struct _item_scan_t { - struct default_engine *engine; struct assoc_scan asscan; /* assoc scan */ const char *prefix; int nprefix; @@ -8466,7 +8465,6 @@ void *itscan_open(struct default_engine *engine, item_scan_...
driver/retimer/tusb544.c: Format with clang-format BRANCH=none TEST=none
static int tusb544_write(const struct usb_mux *me, int offset, int data) { - return i2c_write8(me->i2c_port, - me->i2c_addr_flags, - offset, data); + return i2c_write8(me->i2c_port, me->i2c_addr_flags, offset, data); } static int tusb544_read(const struct usb_mux *me, int offset, int *data) { - return i2c_read8(me->i2c...
BugID:16846667: Fix compilation issues modified: stm32f429zi-syscall/src/ethernetif.c
****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ -#include "stm32f4xx_hal.h" -#include "aos/kernel.h" +#include <string.h> #include <k_api.h> -#include "network/network.h" +#include <aos/kernel.h> +#include...
Sort uniforms in ShaderBlocks;
@@ -1740,7 +1740,13 @@ static void lovrShaderSetupUniforms(Shader* shader) { } else { uniform.size = 4 * (uniform.components == 3 ? 4 : uniform.components); } - vec_push(&block->uniforms, uniform); + + // Uniforms in the block need to be in order of their offset, so find the right index for it + int index = 0; + while ...
Removed graph background, plotlines color to green
@@ -1181,6 +1181,7 @@ static void compute_swapchain_display(struct swapchain_data *data) if (s == OVERLAY_PARAM_ENABLED_gpu_timing) data->time_dividor = 1000000.0f; + ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0.0f, 0.0f, 0.0f, 0.0f)); if (s == OVERLAY_PARAM_ENABLED_frame_timing || s == OVERLAY_PARAM_ENABLED_acquir...
Update changelog for v0.13.0 Update changelog
@@ -10,6 +10,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [Unreleased][Unreleased_log] -------------- +[v0.13.0][v0.13.0_log] +-------------- + +### Added +- OpenSSL version 1.1.1 libraries are now available for an enclave to use. See the [attested_tls sample](samples/attested_...
Build debug openmp libraries by dropping use of AOMP_BUILD_TRUNK
@@ -129,11 +129,8 @@ fi # This is how we tell the hsa plugin where to find hsa export HSA_RUNTIME_PATH=$ROCM_DIR/hsa -# Trunk does not yet use standard library search for HIP device libs -# So tell HIP where to find rocm-device-libs with HIP_DEVICE_LIB_PATH -if [ "$AOMP_BUILD_TRUNK" != 0 ] ; then + export HIP_DEVICE_LI...
Fixed path for publishing in Jenkinsfile.
@@ -1122,7 +1122,7 @@ def buildDebianPackage(stageName, image) { publishPackages('a7', 'compose/frontend/volumes/incoming') } if(stageName == 'buildPackage/ubuntu/bionic'){ - publishPackages('doc.libelektra.org', '/srv/repositories/incoming/') + publishPackages('doc.libelektra.org', '/incoming/') } } }
Restore -march flag for Android builds fixes - renewed discussion in suggests removal of the option was primarily aimed at non-Android builds
ifeq ($(CORE), $(filter $(CORE),ARMV7 CORTEXA9 CORTEXA15)) ifeq ($(OSNAME), Android) -CCOMMON_OPT += -mfpu=neon -FCOMMON_OPT += -mfpu=neon +CCOMMON_OPT += -mfpu=neon -march=armv7-a +FCOMMON_OPT += -mfpu=neon -march=armv7-a else CCOMMON_OPT += -mfpu=vfpv3 -march=armv7-a FCOMMON_OPT += -mfpu=vfpv3 -march=armv7-a
add docu for new go lib functions
@@ -19,11 +19,11 @@ provider from `oidc-agent`. All functions take a `TokenRequest` struct. This struct describes the request: ```go +// TokenRequest is used to request an access token from the agent type TokenRequest struct { - // The account short name that should be used (Can be omitted if IssuerURL is - // specifie...
doc: Add sentence explaining what the Jenkins section does
@@ -165,6 +165,7 @@ If you feel like your inquiry does not warrent a issue on its own, please use [our buildserver issue](https://issues.libelektra.org/160). ## Jenkins +This section describes how to replicate the current jenkins configuration. ### Jenkins libelektra configuration The `libelektra` build job is a multib...
add GPFDIST_APR_MEM_MAX_SIZE to limit memory pool of gpfdist
@@ -3444,6 +3444,18 @@ int gpfdist_init(int argc, const char* const argv[]) { pthread_create(&watchdog, 0, watchdog_thread, 0); } } + + char* aprMemStr = getenv("GPFDIST_APR_MEM_MAX_SIZE"); + long aprMemSize = 0; + if (aprMemStr != NULL) { + aprMemSize = strtol(aprMemStr, &endptr, 10); + + if (endptr != aprMemStr + str...
[acrn-configuration tool] make scenario shared file error cp error Fixed the error that the "'chmod +x ./build/acrn_release_deb/DEBIAN/preinst'" command and "sed -i \'s/\r//\' ./build/acrn_release_deb/DEBIAN/preinst" command are still executed when there is no "./build/acrn_release_deb/DEBIAN/preinst" file after build.
@@ -127,6 +127,7 @@ def create_acrn_deb(board, scenario, version, build_dir): run_command('chmod +x ./build/acrn_release_deb/etc/grub.d/100_ACRN', cur_dir) run_command('chmod +x ./build/acrn_release_deb/DEBIAN/postinst', cur_dir) run_command('sed -i \'s/\r//\' ./build/acrn_release_deb/DEBIAN/postinst', cur_dir) + if os...
dns-address: subscribe before poke
?. good %+ strand-fail:strandio %bail-early-self-check [>"couldn't access ship on port 80"< ~] + ;< our=@p bind:m get-our:strandio + ;< ~ bind:m (watch:strandio /sub collector-app /(scot %p our)) ;< ~ bind:m (poke:strandio collector-app %dns-address !>([%if if])) =/ msg=cord (cat 3 'request for DNS sent to ' (scot %p p...
fix axis_pps_counter
@@ -17,11 +17,23 @@ module axis_pps_counter # output wire m_axis_tvalid ); - reg [CNTR_WIDTH-1:0] int_cntr_reg, int_cntr_next; - reg int_enbl_reg, int_enbl_next; - reg [2:0] int_data_reg; - - wire int_edge_wire; + reg [CNTR_WIDTH-1:0] int_cntr_reg; + reg int_enbl_reg; + reg [1:0] int_data_reg; + + wire int_edge_wire, i...
Modernize the cups-threads autoconf source file.
@@ -9340,19 +9340,26 @@ then : fi -have_pthread=no +have_pthread="no" PTHREAD_FLAGS="" -if test "x$enable_threads" != xno; then +if test "x$enable_threads" != xno +then : + ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" if test "x$ac_cv_header_pthread_h" = xyes then :...
stm32/modusocket: Handle case of NULL NIC in socket ioctl.
@@ -369,6 +369,13 @@ mp_uint_t socket_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int * } return 0; } + if (self->nic == MP_OBJ_NULL) { + if (request == MP_STREAM_POLL) { + return MP_STREAM_POLL_NVAL; + } + *errcode = MP_EINVAL; + return MP_STREAM_ERROR; + } return self->nic_type->ioctl(self, request, arg...
Allow mount even if restore failed. Even if restore failed, clean journal area & execute bind when mount
@@ -2001,7 +2001,8 @@ int smartfs_journal_init(struct smartfs_mountpt_s *fs) * restored yet */ ret = process_transaction(fs); if (ret != OK) { - goto err_out; + fdbg("process_transaction failed, but clean journal area\n"); + break; } } else { /* If a valid transaction does not exist here, stop checking further */ @@ -2...
GSettings: fix ksLookup calls
@@ -325,7 +325,7 @@ static void elektra_settings_backend_reset (GSettingsBackend * backend, const gc g_free (keypathname); if (gkey != NULL) { - gelektra_keyset_lookup (esb->gks, gkey, KDB_O_POP); + gelektra_keyset_lookup (esb->gks, gkey, GELEKTRA_KDB_O_POP); g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "%s.", "Key not foun...