message
stringlengths
6
474
diff
stringlengths
8
5.22k
[ya.core.conf] update svn 1.10 toolkit to r3884368
}, "svn110": { "formula": { - "sandbox_id": 281178455, + "sandbox_id": 286028033, "match": "svn" }, "executable": {
Updated draft.
<?rfc strict="no" ?> <?rfc symrefs="no" ?> -<rfc category="exp" ipr="trust200902" docName="draft-dreibholz-taps-neat-socketapi-02.txt"> +<rfc category="exp" ipr="trust200902" docName="draft-dreibholz-taps-neat-socketapi-03.txt"> <?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?> @@ -20,12 +20,11 @@ NEAT Sockets AP...
admin/meta-packages: remove ganglia from %files section
@@ -843,7 +843,6 @@ Collection of parallel library builds for use with the Arm Compiler for Linux an %files -n %{PROJ_NAME}-autotools %files -n %{PROJ_NAME}-base %files -n %{PROJ_NAME}-base-compute -%files -n %{PROJ_NAME}-ganglia %files -n %{PROJ_NAME}-%{compiler_family}-geopm %files -n %{PROJ_NAME}-%{compiler_family}-...
YAML CPP: Use general parse error
@@ -1148,13 +1148,6 @@ module:yamlcpp macro:YAMLCPP_EMITTER_FAILED number:185 -description:Parsing failed -severity:error -ingroup:plugin -module:yamlcpp -macro:YAMLCPP_PARSER_FAILED - -number:186 description:Failed to retrieve YAML representation severity:error ingroup:plugin
doc: two languages support for deploy_docs stage.
@@ -368,7 +368,7 @@ push_master_to_github: deploy_docs: - stage: deploy + stage: assign_test image: $CI_DOCKER_REGISTRY/esp32-ci-env$BOT_DOCKER_IMAGE_TAG tags: - deploy @@ -388,11 +388,17 @@ deploy_docs: - chmod 600 ~/.ssh/id_rsa - echo -e "Host $DOCS_SERVER\n\tStrictHostKeyChecking no\n\tUser $DOCS_SERVER_USER\n" >> ~...
feature_request.md: Add more guidance and hints; use comments and headings
--- name: Feature request about: Suggest an idea for this project -title: "[REQUEST]" +title: '' labels: Feature Request assignees: '' --- -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] +<!-- + - Use this ...
out_slack: use new upstream prototype for tls handling
@@ -101,7 +101,7 @@ static int cb_slack_init(struct flb_output_instance *ins, ctx->u = flb_upstream_create(config, ctx->host, ctx->port, - FLB_IO_TLS, (void *) &ins->tls); + FLB_IO_TLS, ins->tls); if (!ctx->u) { flb_plg_error(ctx->ins, "error creating upstream context"); goto error;
Deploy builds.
@@ -83,6 +83,54 @@ ssh-add "$DEPLOY_KEY_PATH" ############################################################################### ### Deploy build. ############################################################################### +# Path to the libs that will be deployed. +LIB_DIR="$BUILD_DIR_FIXED/lib" +# Verify that libs h...
python: framer: use 'into_buffer' if available [3/8] This change allows us to re-use one buffer for serializing a group of SBP messages and thus avoid unnecessary copies.
@@ -17,6 +17,8 @@ import time import uuid import six +import numpy as np + class Framer(six.Iterator): """ @@ -38,6 +40,7 @@ class Framer(six.Iterator): write, verbose=False, dispatcher=dispatch, + into_buffer=False, skip_metadata=False): self._read = read self._write = write @@ -45,6 +48,8 @@ class Framer(six.Iterator...
actions: update plugins and bindings
@@ -22,28 +22,27 @@ jobs: matrix: include: # The following plugins have been disabled due to problems: - # Unfortunately the tests for the Xerces plugin fail: https://travis-ci.org/ElektraInitiative/libelektra/jobs/483331657#L3740 - # The curlget tests fail: https://github.com/ElektraInitiative/libelektra/issues/3382 -...
HLS memcopy : adding hls.mk change
@@ -66,8 +66,8 @@ $(SOLUTION_NAME): $(objs) check: $(symlinks) @grep -A8 critical $(SOLUTION_DIR)*/$(SOLUTION_NAME)/$(SOLUTION_NAME).log ; \ test $$? = 1 - @grep -A8 0x184 vhdl/action_wrapper_ctrl_reg_s_axi.vhd ; \ - test $$? = 1 +# @grep -A8 0x184 vhdl/action_wrapper_ctrl_reg_s_axi.vhd ; \ +# test $$? = 1 clean: $(RM)...
fix(docs/codes): Patch footnotes array support Fixes bug that was noticeable when more than one code with a footnote array was present in a table. The symptoms were: footnote descriptions were duplicated footnote refs were not rendered
@@ -19,7 +19,7 @@ function extractFootnoteIds(codes) { new Set( codes .flatMap(({ footnotes }) => Object.values(footnotes)) - .map((refs) => (Array.isArray(refs) ? refs.flat() : refs)) + .flatMap((refs) => (Array.isArray(refs) ? refs.flat() : refs)) ) ); }
wpa_supplicant: Minor bugfix with wpa_supplicant debug logs.
@@ -194,10 +194,6 @@ void wpa2_task(void *pvParameters ) for (;;) { if ( pdPASS == xQueueReceive(s_wpa2_queue, &e, portMAX_DELAY) ) { -#ifdef DEBUG_PRINT - uint32_t sig = 0; - sig = e->sig; -#endif if (e->sig < SIG_WPA2_MAX) { DATA_MUTEX_TAKE(); if(sm->wpa2_sig_cnt[e->sig]) { @@ -234,7 +230,7 @@ void wpa2_task(void *pv...
Missing unlock on error.
@@ -888,6 +888,7 @@ create_job(ipp3d_client_t *client) /* I - Client */ if ((job = calloc(1, sizeof(ipp3d_job_t))) == NULL) { perror("Unable to allocate memory for job"); + cupsRWUnlock(&(client->printer->rwlock)); return (NULL); }
Date: set locale to \"C\" in testmod_date
* */ +#include <locale.h> #include <stdlib.h> #include <string.h> @@ -62,17 +63,18 @@ int main (int argc, char ** argv) { printf ("DATE TESTS\n"); printf ("==================\n\n"); - + const char *old_locale = setlocale(LC_ALL, NULL); + setlocale(LC_ALL, "C"); init (argc, argv); testFmt ("20:15:00", "%H:%M:%S", 1); te...
Minor struct name change for standards.
@@ -1753,7 +1753,7 @@ typedef struct bool x; bool y; bool z; -} s_axis_principal_toggle; +} s_axis_principal_bool; // Caskey, Damon V. // 2018-04-18 @@ -2190,7 +2190,7 @@ typedef struct { unsigned int ani_bind; // Animation binding type. int sortid; // Relative binding sortid. Default = -1 - s_axis_principal_toggle bin...
Fix base64 for bit overflow
@@ -60,33 +60,32 @@ int bscrypt_base64_encode(char *target, const char *data, int len) { const int target_size = (groups + (mod != 0)) * 4; char *writer = target + target_size - 1; const char *reader = data + len - 1; - char tmp1, tmp2, tmp3; writer[1] = 0; switch (mod) { - case 2: - tmp2 = *(reader--); - tmp1 = *(read...
[software] Add debug info to binaries
@@ -67,7 +67,7 @@ RISCV_LLVM_TARGET ?= --target=$(RISCV_TARGET) --sysroot=$(GCC_INSTALL_DIR)/$(RI RISCV_WARNINGS += -Wunused-variable -Wconversion -Wall -Wextra # -Werror RISCV_FLAGS_COMMON_TESTS ?= -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -I$(ROOT_DIR) -I$(HALIDE_INCLUDE) -static -RISCV_FLAGS_COMMON ?= $(RISCV_FLAGS_CO...
test-ipmi-hiomap: Add get-flash-info-error test Cc: stable
@@ -1456,6 +1456,35 @@ static void test_hiomap_get_info_error(void) scenario_exit(); } +static const struct scenario_event +scenario_hiomap_get_flash_info_error[] = { + { .type = scenario_event_p, .p = &hiomap_ack_call, }, + { .type = scenario_event_p, .p = &hiomap_get_info_call, }, + { + .type = scenario_cmd, + .c = {...
fix missized copy.
@@ -92,7 +92,7 @@ assemble(char *asmsrc, char *path) int pid, status; if (outfile != NULL) - strncpy(objfile, outfile, 1024); + strncpy(objfile, outfile, sizeof(objfile)); else { psuffix = strrchr(path, '+'); i = 0;
zephyr/Makefile: Add kobj_types_h_target to Z_EXPORTS. New generated Zephyr header file, without it build breaks.
@@ -106,4 +106,4 @@ outdir/$(BOARD)/Makefile: $(CONF_FILE) $(Z_EXPORTS): outdir/$(BOARD)/Makefile make --no-print-directory -C outdir/$(BOARD) outputexports CMAKE_COMMAND=: >$@ - make -C outdir/$(BOARD) syscall_macros_h_target syscall_list_h_target + make -C outdir/$(BOARD) syscall_macros_h_target syscall_list_h_target...
Improve pointer hashing to avoid hash collisions.
@@ -295,6 +295,15 @@ int janet_equals(Janet x, Janet y) { return 1; } +static uint64_t murmur64(uint64_t h) { + h ^= h >> 33; + h *= 0xff51afd7ed558ccdUL; + h ^= h >> 33; + h *= 0xc4ceb9fe1a85ec53UL; + h ^= h >> 33; + return h; +} + /* Computes a hash value for a function */ int32_t janet_hash(Janet x) { int32_t hash =...
add oidc-keychain bash completion
@@ -75,6 +75,7 @@ make install BIN_PATH=${RPM_BUILD_ROOT}/usr BIN_AFTER_INST_PATH=/usr MAN_PATH=${ %doc /usr/share/bash-completion/completions/oidc-add %doc /usr/share/bash-completion/completions/oidc-agent %doc /usr/share/bash-completion/completions/oidc-gen +%doc /usr/share/bash-completion/completions/oidc-keychain %...
Disable Ltest-init-local-signal on ia64 This makes the tests build on ia64 so that they can be run, a proper fix would be to add unw_init_local2() to src/ia64/Ginit_local.c
@@ -57,7 +57,6 @@ endif Gtest-resume-sig Ltest-resume-sig \ Gtest-resume-sig-rt Ltest-resume-sig-rt \ Gtest-trace Ltest-trace \ - Ltest-init-local-signal \ Ltest-mem-validate \ test-async-sig test-flush-cache test-init-remote \ test-mem test-reg-state Ltest-varargs \ @@ -65,6 +64,11 @@ endif noinst_PROGRAMS_cdep += for...
get lib/vast2 to bail-meme not explicily error
:: ++ apex :: product twig %+ cook - |= tum/(each manx marl):twig ^- twig + |= tum/(each manx:twig marl:twig) ^- twig ?- -.tum $& [%xmn p.tum] $| [%xml p.tum] == :: ++ wide-top :: wide outer top - %+ knee *(each manx marl):twig |. ~+ + %+ knee *(each manx:twig marl:twig) |. ~+ ;~ pose (stag %| wide-quote) (stag %| wide...
Docs: Fix shellcheck
@@ -75,12 +75,14 @@ builddocs() { } bumpversion() { - local ocver=$(grep OPEN_CORE_VERSION ../Include/Acidanthera/Library/OcMainLib.h | sed 's/.*"\(.*\)".*/\1/' | grep -E '^[0-9.]+$') + local ocver + ocver=$(grep OPEN_CORE_VERSION ../Include/Acidanthera/Library/OcMainLib.h | sed 's/.*"\(.*\)".*/\1/' | grep -E '^[0-9.]+...
Docs: Add information about fixed potentional memory corruption in AVX to Changelog
@@ -9,6 +9,7 @@ OpenCore Changelog - Fixed selecting `SecureBootModel` on hypervisors (should be `x86legacy`) - Added kext blocking `Strategy` for prelinked and newer - Added global MSR 35h fix to `ProvideCurrentCpuInfo`, allowing `-cpu host` in KVM +- Fixed potential memory corruption with AVX acceleration enabled ###...
Don't sub to configs of comment notification channels.
|= {wat/kind des/cord pub/? vis/? ses/(set ship)} ^+ +> =+ nom=(sane-cord des) - =. +>.$ =- (ta-change-config nom - %coll) [des pub vis ses] - %- ta-emit - :* 0 - %peer - /hall/[nom] - [our.bol %hall] - /circle/(make-circle nom ~)/config-l - == :: ++ ta-submit |= {nom/term tit/cord wat/wain} =. +>.$ %- ta-hall-action [...
hammer: Include hashes in EC image (CONFIG_TOUCHPAD_HASH_FW) BRANCH=none TEST=make TOUCHPAD_FW=SA459C-1211_ForGoogleHammer_3.0.bin \ BOARD=hammer -j CQ-DEPEND=CL:641736
/* Virtual address for touchpad FW in USB updater. */ #define CONFIG_TOUCHPAD_VIRTUAL_OFF 0x80000000 +/* Include touchpad FW hashes in image */ +#define CONFIG_TOUCHPAD_HASH_FW + /* Touchpad firmware size and dimension difference */ #ifdef BOARD_STAFF /* TODO(b:38277869): Adjust values to match hardware. */
Added some SceSysclibForDriver NIDs
@@ -1902,6 +1902,7 @@ modules: nid: 0x7EE45391 functions: __stack_chk_fail: 0xB997493D + look_ctype_table: 0xCDF7F155 memchr: 0x60DAEA30 memcmp: 0xF939E83D memcpy: 0x40C88316 @@ -1919,6 +1920,8 @@ modules: strrchr: 0x7F0E0835 strstr: 0x1304A69D strtol: 0xAB77C5AA + strtoll: 0x87AAAFA2 + strtoul: 0x4E5042DA tolower: 0x0...
Make t4p4s.sh properly wait for needed ports
@@ -396,6 +396,14 @@ declare -A VSN_TO_EXT=([16]="p4" [14]="p4_14") # -------------------------------------------------------------------- +# Wait for 5 seconds or the availability of port $1, whichever comes first +wait_for_port_availability() { + for i in `seq 1 50`; do + [[ `sudo lsof -i:${1} | grep LISTEN | wc -l` ...
Fix typo in SLRU stats documentation Author: Noriyoshi Shinoda Discussion:
@@ -3296,7 +3296,7 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i </row> <row> <entry><structfield>blks_hit</structfield></entry> - <entry><type>biging</type></entry> + <entry><type>bigint</type></entry> <entry>Number of times disk blocks were found already in the SLRU, so that a re...
mdns: updated doxygen comments documenting mdns api Closes
@@ -81,10 +81,9 @@ typedef struct mdns_result_s { * * @return * - ESP_OK on success - * - ESP_ERR_INVALID_ARG when bad tcpip_if is given - * - ESP_ERR_INVALID_STATE when the network returned error + * - ESP_ERR_INVALID_STATE when failed to register event handler * - ESP_ERR_NO_MEM on memory error - * - ESP_ERR_WIFI_NOT...
test: add platone test case test_002InitWallet_0002SetEIP155CompFailureNullParam fix the issue aitos-io#1176 teambition task id:
@@ -608,6 +608,21 @@ START_TEST(test_002InitWallet_0001SetEIP155CompSuccess) } END_TEST +START_TEST(test_002InitWallet_0002SetEIP155CompFailureNullParam) +{ + BSINT32 rtnVal; + BoatPlatoneWalletConfig wallet = get_platone_wallet_settings(); + + /* 1. execute unit test */ + rtnVal = BoatPlatoneWalletSetEIP155Comp(NULL, ...
[doc] add a link h2olog in "Key Features"
@@ -40,6 +40,7 @@ Explanation of the benchmark charts can be found in the <a href="benchmarks.html <li><a href="configure/proxy_directives.html">reverse proxy</a> <li><a href="configure/mruby.html">scriptable using mruby</a> (Rack-based) <li>graceful restart and self-upgrade +<li><a href="configure/h2olog.html">BPF-bas...
runtimes/charliecloud: fix typo in sed function
%define pname charliecloud # Specify python version of a given file -%define versionize_script() (sed -i 's,/env python,/env% %1,g' %2) +%define versionize_script() (sed -i 's,/env python,/env %1,g' %2) %{!?build_cflags:%global build_cflags $RPM_OPT_FLAGS} %{!?build_ldflags:%global build_ldflags %nil}
adding extra keys for the trackers so now the tracker behave more like other traditional music trackers
@@ -840,6 +840,13 @@ static void processTrackerKeyboard(Music* music) tic_key_y, tic_key_7, tic_key_u, + + // extra keys + tic_key_i, + tic_key_9, + tic_key_o, + tic_key_0, + tic_key_p, }; if (getChannelPattern(music))
Changed rollover field type
@@ -47,7 +47,7 @@ typedef struct int32_t range_max; int32_t range_min; int32_t step; - bool rollover; // Set to true for rollover functionality + uint8_t rollover : 1; // Set to true for rollover functionality uint16_t digit_count : 4; uint16_t dec_point_pos : 4; /*if 0, there is no separator and the number is an integ...
Contract: Sort providers
@@ -130,14 +130,14 @@ description = The full text describing everything relevant for the [infos/provides] type = enum - resolver - storage - code - notification apply - conv check + code + conv logging + notification + resolver + storage status = implemented usedby = plugin description = Introduces a more abstract name...
Don't complain if function name doesn't match The "function" argument is now unused in the XXXerr defines, so mkerr doesn't need to check if the value/name match.
@@ -394,10 +394,6 @@ foreach my $file ( @source ) { $fnew{$2}++; } $ftrans{$3} = $func unless exists $ftrans{$3}; - if ( uc($func) ne $3 ) { - print STDERR "ERROR: mismatch $file:$linenr $func:$3\n"; - $errors++; - } print STDERR " Function $1 = $fcodes{$1}\n" if $debug; }
build: run note check not on master
@@ -359,7 +359,7 @@ def build_todo() { def build_check_release_notes() { def stage_name = "check-release-notes" return [(stage_name): { - stage(stage_name) { + maybeStage(stage_name, !isMaster()) { withDockerEnv(DOCKER_IMAGES.stretch) { sh "scripts/run_check_release_notes" deleteDir()
force build_openmp.sh install steps to use -j X, temporary workaround to very serialized build time on openmp
@@ -210,7 +210,7 @@ if [ "$1" == "install" ] ; then cd $BUILD_DIR/build/openmp echo echo " -----Installing to $INSTALL_OPENMP/lib ----- " - $SUDO make install + $SUDO make -j $AOMP_JOB_THREADS install if [ $? != 0 ] ; then echo "ERROR make install failed " exit 1 @@ -223,7 +223,7 @@ if [ "$1" == "install" ] ; then [[ !...
grid: fix mock notification data to match new type def
@@ -197,7 +197,7 @@ function text(t: string) { function createDmNotification(...content: HarkContent[]): HarkBody { return { title: [ship('~hastuc-dibtux'), text(' messaged you')], - time: unixToDa(Date.now() - 3_600).toString(), + time: unixToDa(Date.now() - 3_600).toJSNumber(), content, binned: '/', link: '/' @@ -207...
stm32/mboot: Always use a flash latency of 1WS to match 48MHz HCLK.
#undef MICROPY_HW_CLK_PLLN #undef MICROPY_HW_CLK_PLLP #undef MICROPY_HW_CLK_PLLQ +#undef MICROPY_HW_FLASH_LATENCY #define MICROPY_HW_CLK_PLLM (HSE_VALUE / 1000000) #define MICROPY_HW_CLK_PLLN (192) #define MICROPY_HW_CLK_PLLP (RCC_PLLP_DIV4) #define MICROPY_HW_CLK_PLLQ (4) +#define MICROPY_HW_FLASH_LATENCY FLASH_LATENC...
gall: crash properly on failed %boon from ames
=/ sky (rof ~ %cb [our %home case] /[mark.ames-response]) ?- sky ?(~ [~ ~]) - =/ ror "gall: ames mark fail {<mark.ames-response>}" - (mo-give %done `vale+[leaf+ror]~) + (mean leaf+"gall: ames mark fail {<mark.ames-response>}" ~) :: [~ ~ *] =+ !<(=dais:clay q.u.u.sky) =/ res (mule |.((vale:dais noun.ames-response))) ?: ...
find all scala source files instead of searching individual project directories
@@ -6,11 +6,10 @@ SHELL=/bin/bash ######################################################################################### # variables to get all *.scala files ######################################################################################### -lookup_scala_srcs = $(shell find -L $(1)/ -iname "*.scala" 2> /dev/n...
[arch][m68k] add idle loop
@@ -17,7 +17,7 @@ void arch_early_init(void) { // set the exception vector base extern uint32_t exc_vectors[256]; - asm("movec %0, %%vbr" :: "r"(exc_vectors)); + asm volatile("movec %0, %%vbr" :: "r"(exc_vectors)); } void arch_init(void) { @@ -25,7 +25,8 @@ void arch_init(void) { } void arch_idle(void) { -// asm volati...
.travis.yml: add pair of linux-ppc64le targets. One is clang --strict-warnings and one gcc sanitizer extended test. Sanitizer build is quite expensive, can take >30 mins and is commented for occasions when there is reason to believe that PPC-specific problem can be diagnosed with sanitizer.
@@ -31,6 +31,10 @@ env: matrix: include: + - os: linux-ppc64le + sudo: false + compiler: clang + env: CONFIG_OPTS="--strict-warnings -D__NO_STRING_INLINES" - os: linux addons: apt: @@ -52,6 +56,12 @@ matrix: - gcc-mingw-w64 compiler: i686-w64-mingw32-gcc env: CONFIG_OPTS="no-stdio" BUILDONLY="yes" + # Uncomment if ther...
volteer: Add GPIO_LOCKED to EC_RST_ODL PSL input BRANCH=none TEST=make buildall
@@ -45,8 +45,13 @@ UNIMPLEMENTED(PCH_DSW_PWROK) /* * GPIO_INT_BOTH is required for PSL wake from hibernate, but we don't need an * interrupt handler because it is automatically handled by the PSL. + * + * We need to lock the setting so this gpio can't be reconfigured to overdrive + * the real reset signal. (This is the...
matlab test: comment out TOOLBOX_PATH test (not strictly needed)
@@ -12,8 +12,8 @@ function test_bart() tolFloat = 1e-7; %% Test1: Environmental variable - bartPath = getenv('TOOLBOX_PATH'); - testAssert(~isempty(bartPath), 'Environmental variable (TOOLBOX_PATH)'); + %bartPath = getenv('TOOLBOX_PATH'); + %testAssert(~isempty(bartPath), 'Environmental variable (TOOLBOX_PATH)'); %% Te...
Fix the allocator. It had two bugs that compensated each other. First, an off-by-one in the code that prevented freeing any slabs. Second, the singly linked list of slabs should have been doubly linked. The first prevented the second from mattering. Both should be fixed by this.
+use sys use "die" use "extremum" use "memops" @@ -27,9 +28,9 @@ pkg std = const Zslab = (0 : slab#) const Zchunk = (0 : chunk#) -const Slabsz = 1*MiB /* 1 meg slabs */ -const Cachemax = 16 /* maximum number of slabs in the cache */ -const Bktmax = 32*KiB /* Slabsz / 8; a balance. */ +const Slabsz = 4*MiB +const Cachem...
haskell-debian-strech: fix shared cabal build flags on linux
@@ -6,7 +6,6 @@ if (NOT BUILD_STATIC) set (CABAL_INCLUDE_DIRS "\"${CMAKE_SOURCE_DIR}/src/include\", \"${CMAKE_BINARY_DIR}/src/include\"") set (BINDING_HASKELL_NAME "${CMAKE_CURRENT_BINARY_DIR}/libHSlibelektra-haskell") - set (CABAL_OPTS "--prefix=${CMAKE_INSTALL_PREFIX}") if (BUILD_SHARED OR BUILD_FULL) set (GHC_DYNAMI...
useResize: fix destructor
@@ -15,11 +15,12 @@ export function useResize<T extends HTMLElement>( callback(entry, observer); } } + let el = ref.current; const resizeObs = new ResizeObserver(observer); - resizeObs.observe(ref.current, { box: 'border-box' }); + resizeObs.observe(el, { box: 'border-box' }); return () => { - resizeObs.unobserve(ref.c...
CHANGELOG: Add recent motor updates.
## [Unreleased] +### Added +- Added ability to use more than one `DriveBase` in the same script. + +### Changed +- Changed how `DriveBases` and `Motor` classes can be used together. + Previously, an individual motor could not be used when a drive base used it. + From now on, devices can always be used. If they were alr...
Added note about redundant install logic
@@ -28,6 +28,12 @@ ENV TZ="America/New_York" # --- # Install packages. Note extra PPA for Go. # +# Also note that this logic duplicates the top-level `install_build_tools.sh` +# script. Trying to use that script here causes issues because of its use of +# `sudu` when running the package installer. It clears the environ...
change findPlug method that is deprecated for maya 2019
@@ -1834,7 +1834,7 @@ AssetNode::createAsset() // if the asset has been frozen. and DeferAssetLoad in on // and we're reading a file, don't load the assets MFnDependencyNode assetNodeFn(thisMObject()); - MPlug frozenPlug = assetNodeFn.findPlug("frozen"); + MPlug frozenPlug = assetNodeFn.findPlug("frozen", true); bool f...
Add mapimg export typedefs
@@ -779,7 +779,10 @@ typedef struct _PH_MAPPED_IMAGE_DEBUG_POGO PPH_IMAGE_DEBUG_POGO_ENTRY PogoEntries; } PH_MAPPED_IMAGE_DEBUG_POGO, *PPH_MAPPED_IMAGE_DEBUG_POGO; -NTSTATUS PhGetMappedImagePogo( +PHLIBAPI +NTSTATUS +NTAPI +PhGetMappedImagePogo( _In_ PPH_MAPPED_IMAGE MappedImage, _Out_ PPH_MAPPED_IMAGE_DEBUG_POGO PogoD...
hv:vtd: fix MISRA-C violations on scope of variable could be reduced This patch fix the MISRA-C violations in arch/x86/vtd.c on scope of variable could be reduced. Acked-by: Anthony Xu
@@ -129,16 +129,15 @@ struct context_table { struct page buses[CONFIG_IOMMU_BUS_NUM]; }; -static struct page root_tables[CONFIG_MAX_IOMMU_NUM] __aligned(PAGE_SIZE); -static struct context_table ctx_tables[CONFIG_MAX_IOMMU_NUM] __aligned(PAGE_SIZE); - static inline uint8_t* get_root_table(uint32_t dmar_index) { + static...
Copying QoS Bits when fragmented, so that marking can happen properly also cleaning up some unused code
@@ -61,6 +61,13 @@ frag_set_sw_if_index (vlib_buffer_t * to, vlib_buffer_t * from) vnet_buffer (from)->ip.adj_index[VLIB_RX]; vnet_buffer (to)->ip.adj_index[VLIB_TX] = vnet_buffer (from)->ip.adj_index[VLIB_TX]; + + /* Copy QoS Bits */ + if (PREDICT_TRUE (from->flags & VNET_BUFFER_F_QOS_DATA_VALID)) + { + vnet_buffer2 (...
Hide sprites behind Window
@@ -122,6 +122,46 @@ _UpdateActors_b:: push af inc sp + ; If WX_REG == 7 - Move sprite + push hl + ld hl, #0xFF4B ; WX_REG + ld a, (hl) + pop hl + cp a, #0x7 + jp z, move_sprite + + ; If WX_REG > screen_x - Move sprite + push hl + ldhl sp, #2 ; screen_x in stack + ld e, a + ld a, (hl) + pop hl + cp a, e + jp c, move_sp...
updates "target.c" 1, remove "extern" and "USBD_CDC_ACM_Reset"
@@ -37,61 +37,16 @@ target_cfg_t target_device = { }; // RTL8195AM's main cpu can only talk 38400 with DAP UART -//#include "string.h" -#include "RTL.h" -#include "rl_usb.h" -#include "usb_for_lib.h" - -extern int32_t data_send_access; -extern int32_t data_send_active; -extern int32_t data_send_zlp; -extern int32_t dat...
max7456: poke spi txn on is_ready check
@@ -296,7 +296,11 @@ bool max7456_flush() { } bool max7456_is_ready() { - return spi_txn_ready(&bus); + if (!spi_txn_ready(&bus)) { + spi_txn_continue(&bus); + return false; + } + return true; } void osd_read_character(uint8_t addr, uint8_t *out, const uint8_t size) {
fix hfp demo audio not sine Closes
@@ -106,6 +106,7 @@ const char *c_codec_mode_str[] = { #if CONFIG_BT_HFP_AUDIO_DATA_PATH_HCI #define TABLE_SIZE 100 +#define TABLE_SIZE_BYTE 200 // Produce a sine audio static const int16_t sine_int16[TABLE_SIZE] = { 0, 2057, 4107, 6140, 8149, 10126, 12062, 13952, 15786, 17557, @@ -179,14 +180,13 @@ static void bt_app_...
test/evp_test.c: fix keygen_test_run() There was a misunderstanding what it should return. It should return 0 on internal error, but 1 even if the thing it tests fails (the error is determined by |t->err|).
@@ -2504,8 +2504,8 @@ static int keygen_test_run(EVP_TEST *t) { KEYGEN_TEST_DATA *keygen = t->data; EVP_PKEY *pkey = NULL; + int rv = 1; - t->err = NULL; if (EVP_PKEY_keygen(keygen->genctx, &pkey) <= 0) { t->err = "KEYGEN_GENERATE_ERROR"; goto err; @@ -2514,6 +2514,7 @@ static int keygen_test_run(EVP_TEST *t) if (keyge...
Fix lighting shader
@@ -336,7 +336,7 @@ namespace carto { uniform vec4 u_lightColor; uniform vec3 u_lightDir; uniform vec3 u_viewDir; - vec4 applyLighting(lowp vec4 color, mediump vec3 normal, highp_opt float height, lowp bool sideVertex) { + vec4 applyLighting(lowp vec4 color, mediump vec3 normal, highp_opt float height, bool sideVertex)...
xive: Fix ability to clear some EQ flags We could never clear "unconditional notify" and "escalate"
@@ -4013,10 +4013,14 @@ static int64_t opal_xive_set_queue_info(uint64_t vp, uint32_t prio, /* Always notify flag */ if (qflags & OPAL_XIVE_EQ_ALWAYS_NOTIFY) eq.w0 |= EQ_W0_UCOND_NOTIFY; + else + eq.w0 &= ~EQ_W0_UCOND_NOTIFY; /* Escalation flag */ if (qflags & OPAL_XIVE_EQ_ESCALATE) eq.w0 |= EQ_W0_ESCALATE_CTL; + else ...
Configure: clean away perl syntax faults The faults aren't fatal (i.e. perl just shrugs), but are curious.
@@ -2260,7 +2260,7 @@ EOF push @{$check_exist{$s}}, $ddest; my $o = $_; $o =~ s/\.rc$/.res/; # Resource configuration - my $o = cleanfile($buildd, $o, $blddir); + $o = cleanfile($buildd, $o, $blddir); $unified_info{sources}->{$ddest}->{$o} = -1; $unified_info{sources}->{$o}->{$s} = -1; } else { @@ -2296,7 +2296,7 @@ EO...
CSMA: Do not depend depend on sequence numbers to identify packets
@@ -130,7 +130,10 @@ MEMB(packet_memb, struct packet_queue, MAX_QUEUED_PACKETS); MEMB(metadata_memb, struct qbuf_metadata, MAX_QUEUED_PACKETS); LIST(neighbor_list); -static void packet_sent(void *ptr, int status, int num_transmissions); +static void packet_sent(struct neighbor_queue *n, + struct packet_queue *q, + int ...
space in path fix
@@ -115,7 +115,7 @@ def buildXamarinNuget(args, target): if not nuget(args, buildDir, 'pack', - '%s/CartoMobileSDK.%s.nuspec' % (buildDir, target), + '"%s/CartoMobileSDK.%s.nuspec"' % (buildDir, target), '-BasePath', '/' ): return False
update zipatcher for r5455689 Note: mandatory check (NEED_CHECK) was skipped
}, "zipatcher": { "formula": { - "sandbox_id": 366228984, + "sandbox_id": 486868843, "match": "zipatcher" }, "executable": {
Update mdw to cdw in gpcheckperf hostfile test We recently changed the mdw hostname to cdw for inclusive terminology. This spot was missed.
@@ -3854,7 +3854,7 @@ def impl(context, contentid): @given('create a gpcheckperf input host file') def impl(context): - cmd = Command(name='create input host file', cmdStr='echo sdw1 > /tmp/hostfile1;echo mdw >> /tmp/hostfile1;') + cmd = Command(name='create input host file', cmdStr='echo sdw1 > /tmp/hostfile1;echo cdw...
rtdl: don't insert objects into a scope more than once
@@ -941,6 +941,12 @@ Scope::Scope() : _objects(getAllocator()) { } void Scope::appendObject(SharedObject *object) { + // Don't insert duplicates. + for (auto obj : _objects) { + if (obj == object) + return; + } + _objects.push(object); }
Solve minor bugs in metacall license tool.
@@ -28,17 +28,17 @@ find "$EXEC_PATH" -type f \ # License LICENSE=$(cat <<-END - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at + \tLicensed under the Apache License, Version 2.0 (the "License")...
Docs: Update CN trans for build-system.rst
@@ -654,7 +654,7 @@ Take care when adding configuration values in this file, as they will be include ``project_include.cmake`` files are used inside ESP-IDF, for defining project-wide build features such as ``esptool.py`` command line arguments and the ``bootloader`` "special app". -Wrappers to redefine or extend exist...
GCC did not support -mtune for ARM64 before 5.1
ifneq ($(C_COMPILER), PGI) + +ifneq ($(GCCVERSIONGT4), 1) +CCOMMON_OPT += -march=armv8-a +ifneq ($(F_COMPILER), NAG) +FCOMMON_OPT += -march=armv8-a +endif + + +else + + ifeq ($(CORE), ARMV8) CCOMMON_OPT += -march=armv8-a ifneq ($(F_COMPILER), NAG) @@ -138,4 +149,7 @@ FCOMMON_OPT += -march=armv8-a -mtune=emag endif endi...
fix for misaligned map if too much shake Dosen't fix repeated colum while running and shake, but seems to fix current colum falling out of alignment after too many shakes (map scroll permanently wrong)
@@ -25,7 +25,7 @@ void RefreshScroll_b() { y = scroll_y_max; } - current_column = scroll_x >> 3; + current_column = (scroll_x - scroll_offset_x) >> 3; new_column = x >> 3; current_row = scroll_y >> 3; new_row = y >> 3;
ToolStatus: Improve toolbar graph performance (experimental)
@@ -283,7 +283,7 @@ VOID ToolbarUpdateGraphs( graph->GraphState.TooltipIndex = ULONG_MAX; Graph_MoveGrid(graph->GraphHandle, 1); Graph_Draw(graph->GraphHandle); - Graph_UpdateTooltip(graph->GraphHandle); + //Graph_UpdateTooltip(graph->GraphHandle); InvalidateRect(graph->GraphHandle, NULL, FALSE); } }
Use h2o_httpclient_ctx_t::protocol_selector.ratio to signal h2 prior knowledge
@@ -123,9 +123,13 @@ static void on_pool_connect(h2o_socket_t *sock, const char *errstr, void *data, h2o_iovec_t alpn_proto; if (sock->ssl == NULL || (alpn_proto = h2o_socket_ssl_get_selected_protocol(sock)).len == 0) { + /* 100% means prior knowledge connect, force h2 */ + if (client->ctx->protocol_selector.ratio.http...
Update de_web_plugin_private.h Add Samsung SmartThings manufaturer code
#define VENDOR_120B 0x120B // Used by Heiman #define VENDOR_XAL 0x122A #define VENDOR_OSRAM_STACK 0xBBAA +#define VENDOR_SAMJIN 0x1241 #define ANNOUNCE_INTERVAL 10 // minutes default announce interval
Rework missing-7z logic. * Rework missing-7z logic. The empty missing-7z-archiver target (when archiver found) was causing build problems on Windows. Modified to only create missing-7z-archiver target when the archiver not found. Updated the DATA_TARGET_DEPENDS to include missing-7z-archiver when ARCHIVER_CMD not defin...
@@ -119,6 +119,15 @@ ENDIF(WIN32) #----------------------------------------------------------------------------- IF("${ARCHIVER_EXE}" STREQUAL "ARCHIVER_EXE-NOTFOUND") MESSAGE(WARNING "Archiver \"${VISIT_DATA_ARCHIVER_NAME}\" not found, data files cannot be extracted. Try setting VISIT_SEVEN_ZIP_DIR to location of 7-zi...
Update snapcraft builds to use libmupdf-dev and related packages instead.
@@ -32,22 +32,10 @@ apps: plugs: [avahi-observe, home, network] parts: - mupdf: - plugin: make - make-install-var: prefix - make-parameters: [HAVE_X11=no, HAVE_GLFW=no, HAVE_GLUT=no] - source: https://mupdf.com/downloads/mupdf-1.12.0-source.tar.gz - prime: - - -bin/mu* - - -include/mu* - - -lib/libmu* - - -share/doc/mu...
xpath BUGFIX skip non-implemented modules
@@ -7095,6 +7095,10 @@ continue_search: if ((format == LY_VALUE_JSON) && !moveto_mod) { /* search all modules for a single match */ while ((mod = ly_ctx_get_module_iter(ctx, &idx))) { + if (!mod->implemented) { + continue; + } + scnode = lys_find_child(NULL, mod, name, name_len, 0, 0); if (scnode) { /* we have found a ...
GPGME: Use fences for code blocks
@@ -29,18 +29,24 @@ The plugin has been tested on Ubuntu 18.04 with `libgpgme` version 1.10. You can mount the plugin like this: +```sh kdb mount test.ecf /t gpgme "encrypt/key=DDEBEF9EE2DC931701338212DAF635B17F230E8D" +``` Now you can specify a key `user/t/a` and protect its content by using: +```sh kdb set user/t/a k...
Updated win32 docs
All windows based examples are written in Visual Studio 2017 as "Win32 project" and "Console Application". +### Visual Studio configuration + +It may happen that Visual Studio sets different configuration on first project load and this may lead to wrong build and possible errors. Active configuration must be `Debug` an...
apps/x509: Fix -CAfile option being neglected with -new or -in
@@ -730,7 +730,7 @@ int x509_main(int argc, char **argv) } if ((x = X509_new_ex(app_get0_libctx(), app_get0_propq())) == NULL) goto end; - if (sno == NULL) { + if (CAfile == NULL && sno == NULL) { sno = ASN1_INTEGER_new(); if (sno == NULL || !rand_serial(NULL, sno)) goto end;
Makefile now gets the lists of supported chains automatically
@@ -46,11 +46,13 @@ ifeq ($(CHAIN),) CHAIN=ethereum endif +SUPPORTED_CHAINS=$(shell find makefile_conf/chain/ -type f -name '*.mk'| sed 's/.*\/\(.*\).mk/\1/g' | sort) + # Check if chain is available ifeq ($(shell test -s ./makefile_conf/chain/$(CHAIN).mk && echo -n yes), yes) include ./makefile_conf/chain/$(CHAIN).mk e...
Bindings/Python: drop support for cmake < 3.8
@@ -65,15 +65,11 @@ else () add_cppheaders (HDR_FILES) set_source_files_properties (kdb.i PROPERTIES CPLUSPLUS ON) set_source_files_properties (kdb.i PROPERTIES SWIG_FLAGS "-py3;-extranative") - if (CMAKE_VERSION VERSION_LESS 3.8) - swig_add_module (swig-python python kdb.i) - else (CMAKE_VERSION VERSION_LESS 3.8) swig...
doc: add v2.2 to doc menu choices
@@ -189,6 +189,7 @@ else: html_context = { 'current_version': current_version, 'versions': ( ("latest", "/latest/"), + ("2.2", "/2.2/"), ("2.1", "/2.1/"), ("2.0", "/2.0/"), ("1.6.1", "/1.6.1/"),
Test recursive parameter entity is rejected
@@ -4319,6 +4319,31 @@ START_TEST(test_skipped_parameter_entity) } END_TEST +/* Test recursive parameter entity definition rejected in external DTD */ +START_TEST(test_recursive_external_parameter_entity) +{ + const char *text = + "<?xml version='1.0'?>\n" + "<!DOCTYPE root SYSTEM 'http://example.org/dtd.ent' [\n" + "<...
python: finish removing Python 3.6 CI-Tags: #no_auto_pr
@@ -24,7 +24,6 @@ CLASSIFIERS = [ 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator', 'Topic :: Software Development :: Libraries :: Python Modules', - 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Pyth...
Reformat JavaScript: Do not reformat broken file
@@ -24,6 +24,7 @@ if [ $# -gt 0 ]; then javascript_files=$(printf "%s\n" "$@" | grep -Ex '.*\.jsx?') [ -z "$javascript_files" ] && exit else - javascript_files=$(git ls-files '*.js' '*.jsx') + # The file `TooltipCreator.js` contains the text `.pragma library`, which is not valid JavaScript code. + javascript_files=$(gi...
turn on pipefail for sike tests
@@ -97,21 +97,27 @@ sike : sike_patched_bitcode @${MAKE} sike/sike.log sike/word.log : + @set -o pipefail; \ saw sike/verify_word.saw | tee $@ sike/field.log : + @set -o pipefail; \ saw sike/verify_field.saw | tee $@ sike/curve.log : + @set -o pipefail; \ saw sike/verify_curve.saw | tee $@ sike/isogeny.log : + @set -o ...
Feat:Adapt debug log function for MA510
@@ -24,7 +24,7 @@ boatLogConfig.h defines options for compiling. #define __BOATLOG_H__ #include "boattypes.h" -#include "softap_api.h" +#include "qflog_utils.h" //! BOAT LOG LEVEL DEFINITION //! Log level is used to control the detail of log output. @@ -62,7 +62,7 @@ extern const BCHAR * const g_log_level_name_str[]; #...
start all 3 servers
@@ -813,10 +813,9 @@ u3_http_ef_thou(c3_l sev_l, void u3_http_io_init() { -#if 0 // Lens port { - u3_http *htp_u = c3_malloc(sizeof(*htp_u)); + h2htp *htp_u = c3_malloc(sizeof(*htp_u)); htp_u->sev_l = u3A->sev_l + 2; htp_u->coq_l = 1; @@ -824,16 +823,19 @@ u3_http_io_init() htp_u->sec = c3n; htp_u->lop = c3y; + htp_u->...
Make select_preferred_addr callback optional
@@ -252,7 +252,10 @@ static int conn_call_select_preferred_addr(ngtcp2_conn *conn, ngtcp2_addr *dest) { int rv; - assert(conn->callbacks.select_preferred_addr); + if (!conn->callbacks.select_preferred_addr) { + return 0; + } + assert(conn->remote.settings.preferred_address_present); rv = conn->callbacks.select_preferre...
Also install that one
@@ -14,3 +14,4 @@ add_executable(clap-gui target_link_libraries(clap-gui Qt6::Qml Qt6::Widgets Qt6::Core) set_target_properties(clap-gui PROPERTIES CXX_STANDARD 17) +install(TARGETS clap-gui DESTINATION "${CMAKE_INSTALL_PREFIX}/bin") \ No newline at end of file
Update CHANGELOG.md for syscall dispatching/tcb elimination.
@@ -18,6 +18,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Enclave apps that are built with Make and rely on Open Enclave's pkgconfig must now explicitly include OE crypto wrapper library in linker dependency flags. - See the [Makefile in the helloworld sample](samples/hellowo...
Bugid:17493112:[http2] fix [WhiteScan] [609115] [UNINIT]
@@ -503,6 +503,7 @@ int IOT_HTTP2_Stream_Send(stream_handle_t *handle, stream_data_info_t *info) int header_count = sizeof(static_header) / sizeof(static_header[0]); + memset(&h2_data, 0, sizeof(h2_data)); h2_data.header = (http2_header *)static_header; h2_data.header_count = header_count; h2_data.data = info->stream;
core: rconf: define "PATH_MAX" macro for Windows Insert a simple macro to make `mk_rconf.c` compilable on MSVC. Also I removed <unistd.h> from the header list, since it should be included via <mk_core/unistd.h> for portability reasons.
#include <string.h> #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> #include <glob.h> #include <mk_core/mk_rconf.h> #include <mk_core/mk_string.h> #include <mk_core/mk_list.h> +#ifdef _MSC_VER +#define PATH_MAX MAX_PATH +#endif + /* Raise a configuration schema error */ static void mk_config_error(con...
py/objarray.h: Add mp_obj_memoryview_init() helper function.
@@ -55,4 +55,14 @@ typedef struct _mp_obj_array_t { void *items; } mp_obj_array_t; +#if MICROPY_PY_BUILTINS_MEMORYVIEW +static inline void mp_obj_memoryview_init(mp_obj_array_t *self, size_t typecode, size_t offset, size_t len, void *items) { + self->base.type = &mp_type_memoryview; + self->typecode = typecode; + self-...