message
stringlengths
6
474
diff
stringlengths
8
5.22k
Fixed last character from being cutoff
@@ -180,19 +180,16 @@ uint16_t lv_txt_get_next_line(const char * txt, const lv_font_t * font, if(cur_w > max_width) { if( last_break != NO_BREAK_FOUND ) { /* Continue searching for next breakable character to see if the next word will fit */ - if( n_char_since_last_break <= LV_TXT_LINE_BREAK_LONG_MIN_LEN ) { + if( 0 ||...
doxygen: improve .md file discovery Add directories under .../src which contain .md files to DOXY_SRC_DIRECTORIES. Type: fix
@@ -45,6 +45,8 @@ DOXY_DIR ?= $(WS_ROOT)/doxygen # Primary source directories DOXY_SRC ?= src DOXY_SRC_DIRECTORIES = \ + $(shell find $(DOXY_SRC) -name '*.md' -print | xargs dirname \ + | sort | uniq) \ $(DOXY_SRC)/vppinfra \ $(DOXY_SRC)/svm \ $(DOXY_SRC)/vlib \
stm32/main: increase bluetooth chunk and timeout Because we send one checksum per data chunk, overal download speed is faster if we send larger (and fewer) chunks of bytes, even with the increased timeout.
@@ -121,11 +121,11 @@ static pbio_error_t get_message(uint8_t *buf, uint32_t rx_len, bool clear, int32 } } - // Maximum time between two bytes - const int32_t time_interval = 250; + // Maximum time between two bytes/chunks + const int32_t time_interval = 500; // Acknowledge at the end of each message or each data chunk...
provisioning/warewulf-vnfs: add necessary requires for wwbootstrap
@@ -34,6 +34,9 @@ Group: %{PROJ_NAME}/provisioning ExclusiveOS: linux Requires: warewulf-common%{PROJ_DELIM} Requires: pigz +%if 0%{?rhel} +Requires: perl-IO-Compress +%endif BuildRequires: autoconf BuildRequires: automake BuildRequires: warewulf-common%{PROJ_DELIM}
gh-actions: use -O2 instead of -O3 on emscripten This is to temporarily work around some issues.
@@ -115,8 +115,8 @@ jobs: emscripten: runs-on: ubuntu-latest env: - CFLAGS: -Weverything -Werror -O3 -msimd128 - CXXFLAGS: -Weverything -Werror -O3 -msimd128 + CFLAGS: -Weverything -Werror -O2 -msimd128 + CXXFLAGS: -Weverything -Werror -O2 -msimd128 LDFLAGS: -s ENVIRONMENT=shell -s ASSERTIONS=1 steps: - uses: actions/c...
start resourcemanager
@@ -69,8 +69,6 @@ functions: 0x1400A4250: Client::UI::PlaySoundEffect # this is a static function in the UI namespace, arg1 is the SE 0x140182400: Client::Graphics::Environment::EnvManager_ctor 0x1401973A0: j_SleepEx - 0x1401B27C0: ResourceManager_GetResourceAsync # no vtbl on this class wouldn't be surprised if it was...
webpack: fixing refresh in dev
@@ -9,15 +9,14 @@ const { execSync } = require('child_process'); const GIT_DESC = execSync('git describe --always', { encoding: 'utf8' }).trim(); let devServer = { - contentBase: path.join(__dirname, '../public'), hot: true, port: 9000, host: '0.0.0.0', disableHostCheck: true, historyApiFallback: { + index: '/apps/land...
Fix up close to return proper exit code.
@@ -288,8 +288,8 @@ static Janet cfun_io_fclose(int32_t argc, Janet *argv) { #endif int status = pclose(iof->file); iof->flags |= IO_CLOSED; - if (status) janet_panic("could not close file"); - return janet_wrap_integer(status); + if (status == -1) janet_panic("could not close file"); + return janet_wrap_integer(WEXITS...
Remove dependency on GetSem to fix linux segfault Longer term, need to determine why if failed and fix root cause.
@@ -958,7 +958,7 @@ void incrementAndPostButtonQueue(SurviveContext *ctx) { ButtonQueueEntry *entry = &(ctx->buttonQueue.entry[ctx->buttonQueue.nextWriteIndex]); - if (OGGetSema(ctx->buttonQueue.buttonservicesem) >= BUTTON_QUEUE_MAX_LEN-1) + if ((ctx->buttonQueue.nextWriteIndex+1)% BUTTON_QUEUE_MAX_LEN == ctx->buttonQu...
Fix MU_check concourse task to print failing unit test on error. Fix MU_check concourse task to print failing unit test on error.
@@ -7,35 +7,24 @@ source "${CWDIR}/common.bash" function gen_env(){ cat > /opt/run_test.sh <<-EOF + + base_path=\${1} + RESULT_FILE="\${base_path}/gpdb_src/gpMgmt/gpMgmt_testunit_results.log" trap look4results ERR function look4results() { - results_files="../gpMgmt/gpMgmt_testunit_results.log" - - for results_file in ...
Use fancy syntax for model data map indices; Matches nodes.
@@ -677,7 +677,7 @@ ModelData* lovrModelDataInitGltf(ModelData* model, Blob* source, ModelDataIO* io token += NOM_VALUE(json, token); } else if (STR_EQ(key, "name")) { gltfString name = NOM_STR(json, token); - map_set(&model->animationMap, hash64(name.data, name.length), model->animationCount - i); + map_set(&model->an...
test-suite: fix typo in test suite config summary
@@ -965,7 +965,7 @@ echo User Environment: if test "x$enable_ntp" = "xyes"; then echo ' 'Time synchronization...... : enabled else - echo ' 'Time synchronization...... : disasbled + echo ' 'Time synchronization...... : disabled fi fi
refactor remap to not be as broken
@@ -456,20 +456,20 @@ static void remapCallback(void* data, s32 x, s32 y, RemapResult* result) argv[2] = janet_wrap_integer(result->index); janet_tuple_end(argv); - Janet jresult = janet_wrap_nil(); - JanetFiber *fiber = janet_current_fiber(); - JanetSignal status = janet_pcall(remap_fn, 3, argv, &jresult, &fiber); + J...
vere: version bump (0.8.2)
set -e -URBIT_VERSION=0.8.1 +URBIT_VERSION=0.8.2 deps=" \ curl gmp sigsegv argon2 ed25519 ent h2o scrypt sni uv murmur3 secp256k1 \
feat(fabric test): add fabric test case "TxSetArgs_Txptr_NULL"
@@ -285,6 +285,32 @@ START_TEST(test_002Transaction_0013TxSetArgs_Success) } END_TEST +START_TEST(test_002Transaction_0014TxSetArgs_Txptr_NULL) +{ + BSINT32 rtnVal; + BoatHlfabricTx tx_ptr; + BoatHlfabricWallet *g_fabric_wallet_ptr = NULL; + BoatHlfabricWalletConfig wallet_config = get_fabric_wallet_settings(); + BoatI...
tcp: Allow accepting session to send custom packet Tcp may want to send acks in established, but the app has not called accept() yet. Type: improvement
@@ -1018,7 +1018,15 @@ session_tx_not_ready (session_t * s, u8 peek_data) /* Can retransmit for closed sessions but can't send new data if * session is not ready or closed */ else if (s->session_state < SESSION_STATE_READY) + { + /* Allow accepting session to send custom packets. + * For instance, tcp want to send acks...
Consider LV_TASK_PRIO_OFF when finding the delay till next run required
@@ -168,9 +168,12 @@ LV_ATTRIBUTE_TASK_HANDLER uint32_t lv_task_handler(void) time_till_next = LV_NO_TASK_READY; next = lv_ll_get_head(&LV_GC_ROOT(_lv_task_ll)); while(next) { + if(next->prio != LV_TASK_PRIO_OFF) { uint32_t delay = lv_task_time_remaining(next); if(delay < time_till_next) time_till_next = delay; + } + n...
fixes :acme app tests
++ test-first-order =/ dom=(set turf) (sy /org/urbit/zod ~) =^ moves app (~(poke-acme-order app *bowl:gall *acme:app) dom) + =/ msg "requesting an https certificate for zod.urbit.org" ;: weld %+ expect-eq - !> ~[[ost.bow.app [%wait /acme/directory +(now.bow.app)]]] + !> :~ [ost.bow.app %wait /acme/directory +(now.bow.a...
CI: Switch to HLint action from Haskell org
@@ -29,6 +29,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - - name: HLint - uses: tfausak/hlint-action@v1 + uses: actions/checkout@v3 + + - name: Set up HLint + uses: haskell/actions/hlint-setup@v2 + + - name: Run HLint + uses: haskell/actions/hlint-run@v2 + with: + path: '.' +...
docs: update rhel/aarhc64 recipe to mount $HOME with nfs v4
% end_ohpc_run \subsubsection{Customize system configuration} \label{sec:master_customization} -\input{common/warewulf_chroot_customize_centos} +%\input{common/warewulf_chroot_customize_centos} +\input{common/warewulf_chroot_customize_rhel_aarch} \input{common/restart_nfs} % Additional commands when additional computes...
tests: runtime: in_tcp: add test case for issue 5336
@@ -60,6 +60,28 @@ static void clear_output_num() set_output_num(0); } +static int cb_count_msgpack(void *record, size_t size, void *data) +{ + msgpack_unpacked result; + size_t off = 0; + + if (!TEST_CHECK(data != NULL)) { + flb_error("data is NULL"); + } + + /* Iterate each item array and apply rules */ + msgpack_unp...
Match request conn type in introspection uri Tested-by: IoTivity Jenkins
@@ -166,6 +166,8 @@ oc_core_introspection_wk_handler(oc_request_t *request, int interface_index = (request->origin) ? request->origin->interface_index : -1; + enum transport_flags conn = + (request->origin && (request->origin->flags & IPV6)) ? IPV6 : IPV4; /* We are interested in only a single coap:// endpoint on this ...
Forgotten 'make update'
@@ -4253,3 +4253,4 @@ EVP_aria_256_ctr 4203 1_1_1 EXIST::FUNCTION:ARIA EVP_aria_128_ctr 4204 1_1_1 EXIST::FUNCTION:ARIA EVP_aria_192_ctr 4205 1_1_1 EXIST::FUNCTION:ARIA UI_null 4206 1_1_1 EXIST::FUNCTION:UI +EC_KEY_get0_engine 4207 1_1_1 EXIST::FUNCTION:EC
check (some) return values of setsockopt()
@@ -4936,10 +4936,19 @@ neat_connect(struct neat_he_candidate *candidate, uv_poll_cb callback_fx) neat_log(ctx, NEAT_LOG_ERROR, "Failed to create he socket"); return -1; } - setsockopt(candidate->pollable_socket->fd, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(enable)); - setsockopt(candidate->pollable_socket->fd, SOL_SO...
docs: add RPM extraction to install guide Update the install guide with details of how to manually extract the driver source files from an RPM. Without Debian package support, some users are forced to use this method on Debian-based systems.
@@ -131,6 +131,22 @@ $ sudo rmmod intel-fpga-pci $ sudo rmmod fpga-mgr-mod ``` +## Manual Driver build from RPM package ## +Use the following command to extract the driver source files from the rpm: + +```console +$ mkdir opae-intel-fpga-driver-<release> +$ cd opae-intel-fpga-driver-<release> +$ rpm2cpio ../opae-intel-...
remove messages about incomplete writes move 2 log messages to after EOF clean up some whitespace
@@ -792,8 +792,6 @@ conn_write_ssl(struct xfrd_tcp* tcp, SSL* ssl) request_length); switch(SSL_get_error(ssl,sent)) { case SSL_ERROR_NONE: - if(request_length != sent) - log_msg(LOG_INFO, "xfrd: incomplete write of tls"); break; default: log_msg(LOG_ERR, "xfrd: generic write problem with tls"); @@ -825,8 +823,6 @@ conn...
Clean up ++so-first-grams and ++so-in-range using =*.
|= ran/range ^- (list telegram) =+ [num=0 gaz=grams zeg=*(list telegram)] - :: fill in empty ranges to select all grams. + :: fill in empty ranges to select all grams, + :: and calculate absolutes for relative places. =. ran ?~ ran `[[%ud 0] `[%ud count]] =* hed hed.u.ran ran :: never fails, but compiler needs it. ?> &...
netutils/mqtt: fix violations of coding style This patch fixes violations of coding style.
@@ -280,12 +280,10 @@ mqtt_client_t *mqtt_init_client(mqtt_client_config_t *config) /* set protocol version */ ret = mosquitto_opts_set((struct mosquitto *)mqtt_client->mosq, MOSQ_OPT_PROTOCOL_VERSION, &(config->protocol_version)); - if ( ret != MOSQ_ERR_SUCCESS ) - { + if (ret != MOSQ_ERR_SUCCESS) { ndbg("ERROR: fail ...
clangcl.exe - Make constants floats
@@ -152,7 +152,7 @@ void imageblock_initialize_deriv( vfloat4 dataf = float16_to_float(datai); dataf = max(dataf, 6e-5f); - vfloat4 data_lns1 = dataf * 1.05; + vfloat4 data_lns1 = dataf * 1.05f; data_lns1 = vfloat4( float_to_lns(data_lns1.lane<0>()), float_to_lns(data_lns1.lane<1>()), @@ -421,7 +421,7 @@ void fetch_ima...
added build profil
<SilentBuild command="$make -s -f $makefile" /> </MakeCommands> <Build> - <Target title="default"> + <Target title="release"> <Option output="D:/Stef/dev/work/genesis/demo01/demo01.exe" prefix_auto="0" extension_auto="0" /> <Option type="1" /> <Option compiler="sega_genesis_compiler" /> <Option projectResourceIncludeDi...
Add more ignore diagnostic pragmas to ruby in order to cover some warningsin docker.
#if defined(__GNUC__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wredundant-decls" +# pragma GCC diagnostic ignored "-Wpedantic" #endif #include <ruby.h>
vendor github.com/karrick/godirwalk
@@ -428,6 +428,9 @@ ALLOW .* -> vendor/gopkg.in/tucnak/telebot.v2 # CONTRIB-1726 helpers for working with protobuf field masks ALLOW .* -> vendor/github.com/mennanov/fieldmask-utils +# CONTRIB-1810 Fast directory traversal for Golang +ALLOW .* -> vendor/github.com/karrick/godirwalk + # # Temporary exceptions. #
Tile titles are consistent
let numbers = {}; state.numbers.forEach((num) => { - console.log(num); numbers[num.circle] = num.length; if (num.circle === inviteCircle) { inviteNum = inviteNum + num.length; } else { msgNum = msgNum + num.length; } - console.log(msgNum, inviteNum); }); Object.keys(state.configs).forEach((key) => { let host = key.spli...
Restore CMakeLists.txt install settings accidentally deleted in PR accidentally deleted the lines that set OPENEXR_INSTALL in the process of merging cmake/OpenEXRVersion.cmake into the top-level CMakeLists.txt.
@@ -40,6 +40,12 @@ set(OPENEXR_VERSION_API "${OPENEXR_VERSION_MAJOR}_${OPENEXR_VERSION_MINOR}") message(STATUS "Configure OpenEXR Version: ${OPENEXR_VERSION} Lib API: ${OPENEXR_LIB_VERSION}") +option(OPENEXR_INSTALL "Install OpenEXR libraries" ON) +option(OPENEXR_INSTALL_TOOLS "Install OpenEXR tools" ON) +if(OPENEXR_IN...
Doxygen: Fixed documentation for ARM_MPU_Enable. The MPU_CTRL value defines to be used are those ending on _Msk not the ones with _Pos.
@@ -80,8 +80,8 @@ The function \ref ARM_MPU_Enable writes to the register \ref MPU_Type::CTRL "MPU The following table contains possible values for the parameter \em MPU_CTRL that set specific bits in register MPU->CTRL. | Bit | MPU_CTRL value | When applied | When not applied |:----|:-------------------------|:-------...
small fix for style
@@ -1243,7 +1243,7 @@ static ACVP_RESULT acvp_parse_register (ACVP_CTX *ctx) { * it should be run on a separate thread if needed. */ ACVP_RESULT acvp_process_tests (ACVP_CTX *ctx) { - ACVP_RESULT rv = ACVP_NO_CTX; + ACVP_RESULT rv; ACVP_VS_LIST *vs_entry; if (!ctx) { @@ -1255,6 +1255,7 @@ ACVP_RESULT acvp_process_tests...
Attempt to fix `Path.join` for Windows It's unclear what's wrong from the CI logs, but not much has changed. Perhaps MSVC doesn't like us subtracting the result of an `==` from an int without a cast.
@@ -259,10 +259,10 @@ static Value joinNative(DictuVM *vm, int argCount, Value *args) { ObjString* part; // resultSize = # of dir separators that will be used + length of each string arg - size_t resultSize = abs(argCount - 1); // abs is needed her because of a clang bug + size_t resultSize = abs(argCount - 1); // abs ...
Fix potential null pointer dereference in ARIA implementation
@@ -542,7 +542,7 @@ int aria_set_encrypt_key(const unsigned char *userKey, const int bits, uint32_t w0[4], w1[4], w2[4], w3[4]; const uint32_t *ck; - ARIA_u128 *rk = key->rd_key; + ARIA_u128 *rk; int Nr = (bits + 256) / 32; if (userKey == NULL || key == NULL) { @@ -552,6 +552,7 @@ int aria_set_encrypt_key(const unsigne...
coredump: align coredump description pointer next = inote.descdata + align_power (inote.descsz, 2); this align is missing, leading to parsing errors. In one case libunwind only found 1 thread out of 4.
@@ -67,7 +67,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "_UCD_internal.h" #define NOTE_DATA(_hdr) STRUCT_MEMBER_P((_hdr), sizeof (Elf32_Nhdr) + UNW_ALIGN((_hdr)->n_namesz, 4)) -#define NOTE_SIZE(_hdr) (sizeof (Elf32_Nhdr) + UNW_ALIGN((_hdr)->n_namesz, 4) + (_hdr)->n_descsz) +#defin...
Enable clang tests on raspberry
@@ -144,9 +144,16 @@ jobs: runs-on: [self-hosted, linux, ARM] timeout-minutes: 5 + strategy: + fail-fast: false + matrix: + compiler: [gcc, clang] + steps: - uses: actions/checkout@v1 - name: Run CMake + env: + CC: ${{ matrix.compiler }} run: | mkdir build cd build
openSUSE packages fix. Adding the capability for CLANG for various opensuse distros. Added rpm-build package to build RPMs. Tiny edit for correct error message.
@@ -113,9 +113,9 @@ else ifeq ($(findstring y,$(AESNI)),y) RPM_DEPENDS += https://kojipkgs.fedoraproject.org//packages/nasm/2.12.02/2.fc26/x86_64/nasm-2.12.02-2.fc26.x86_64.rpm endif -RPM_SUSE_DEPENDS = autoconf automake bison ccache chrpath clang3_8 distribution-release gcc6 glibc-devel-static +RPM_SUSE_DEPENDS = auto...
Check return value of time() when getting additional data for the DRBG GH:
@@ -229,9 +229,11 @@ size_t rand_drbg_get_entropy(RAND_DRBG *drbg, } /* - * Find a suitable system time. Start with the highest resolution source + * Find a suitable source of time. Start with the highest resolution source * and work down to the slower ones. This is added as additional data and * isn't counted as rando...
Fix JsonObject type for MyPy Workaround a MyPy error by marking the driver json Object as of type dict and indexable.
@@ -30,7 +30,9 @@ import jinja2 from mbedtls_dev import build_tree JSONSchema = NewType('JSONSchema', object) -Driver = NewType('Driver', object) +# The Driver is an Object, but practically it's indexable and can called a dictionary to +# keep MyPy happy till MyPy comes with a more composite type for JsonObjects. +Driv...
feat(fabric tests): add the test case of CreateWallet_0004
@@ -324,6 +324,23 @@ START_TEST(test_001CreateWallet_0003CreateOneTimeWalletFail_KeyGenmodeErr) } END_TEST +START_TEST(test_001CreateWallet_0004CreateOneTimeWalletFail_KeyTypeErr) +{ + BSINT32 rtnVal; + BoatHlfabricWallet *g_fabric_wallet_ptr = NULL; + BoatHlfabricWalletConfig wallet_config = get_fabric_wallet_settings...
Reduced strings_data array padding, since now using 2 lines was wasting 50% of space
@@ -717,7 +717,7 @@ const compile = async (projectPath, buildPath) => { // Compile strings addFile("strings_data", { bank: 2 }); - addData("strings_data", typedef("strings[][72]"), compileStrings(world)); + addData("strings_data", typedef("strings[][38]"), compileStrings(world)); // Output data
Fix link_dyn_lib.py for python3
@@ -73,7 +73,7 @@ def fix_gnu_param(arch, ex): else: d[item['lang']].append(item['sym']) - with tempfile.NamedTemporaryFile(delete=False) as f: + with tempfile.NamedTemporaryFile(mode='wt', delete=False) as f: if version: f.write('{} {{\nglobal:\n'.format(version)) else: @@ -163,6 +163,8 @@ if __name__ == '__main__': s...
fix ; return 0 if cipher is NULL
@@ -794,7 +794,7 @@ int h2o_socket_get_ssl_cipher_bits(h2o_socket_t *sock) #if H2O_USE_PICOTLS if (sock->ssl->ptls != NULL) { ptls_cipher_suite_t *cipher = ptls_get_cipher(sock->ssl->ptls); - if (cipher != NULL) + if (cipher == NULL) return 0; return (int)cipher->aead->key_size; } else
doc: reorder the string and int extract/expand param values
@@ -49,7 +49,7 @@ There are three modes that are currently defined: =over 4 -=item B<EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND> "EXTRACT_AND_EXPAND" +=item "EXTRACT_AND_EXPAND" or B<EVP_KDF_HKDF_MODE_EXTRACT_AND_EXPAND> This is the default mode. Calling L<EVP_KDF_derive(3)> on an EVP_KDF_CTX set up for HKDF will perform an ...
Fix error picked up by cppcheck
@@ -119,7 +119,7 @@ static string evaluate_string(grib_expression* g,grib_handle* h,char* buf,size_t { grib_expression_column* e = (grib_expression_column*)g; Assert(buf); - if((err=grib_get_string_internal(h,e->name,buf,size)) != GRIB_SUCCESS) + if((*err=grib_get_string_internal(h,e->name,buf,size)) != GRIB_SUCCESS) {...
Clarify comment about main.c being excluded from unit testing. Also remove !!! which by convention we use as a marker for code that needs attention before it can be committed to master.
@@ -287,7 +287,7 @@ sub run # Skip all files except .c files (including .auto.c) next if $strFile !~ /(?<!\.auto)\.c$/; - # !!! Skip main for now until it can be rewritten + # ??? Skip main for now until the function can be renamed to allow unit testing next if $strFile =~ /main\.c$/; # Skip test.c -- it will be added ...
Remove optional reviewers from git checkin
@@ -54,7 +54,6 @@ class CheckinBranch { [string]$completePR = "False"; [string]$pullRequestTitle; [string]$workitem = "37338822" - [string]$optionalReviewers = "quicdev@microsoft.com" [CheckinFile[]]$CheckinFiles; CheckinBranch($ManifestFile, $BranchToPushTo, $PRTitle) {
Handle logical decoding in multi-insert for catalog tuples The code path for multi-insert decoding is not stressed yet for catalogs (a future patch may introduce this capability), so no back-patch is needed. Author: Daniel Gustafsson Discussion:
@@ -891,6 +891,13 @@ DecodeMultiInsert(LogicalDecodingContext *ctx, XLogRecordBuffer *buf) xlrec = (xl_heap_multi_insert *) XLogRecGetData(r); + /* + * Ignore insert records without new tuples. This happens when a + * multi_insert is done on a catalog or on a non-persistent relation. + */ + if (!(xlrec->flags & XLH_INS...
Conditionally add -mfma to compiler options where needed
+FMAFLAG= +ifndef OLDGCC +ifdef HAVE_FMA3 +FMAFLAG = -mfma +endif +endif + + ### AMAX ### ifndef SAMAXKERNEL @@ -828,10 +836,10 @@ $(KDIR)xnrm2_k$(TSUFFIX).$(SUFFIX) $(KDIR)xnrm2_k$(TPSUFFIX).$(PSUFFIX) : $(KE $(CC) $(CFLAGS) -DCOMPLEX -c -DXDOUBLE $< -o $@ $(KDIR)srot_k$(TSUFFIX).$(SUFFIX) $(KDIR)srot_k$(TPSUFFIX).$(P...
LICENSE: add system/hexed Add license for system/hexed to LICENSE file
@@ -653,3 +653,34 @@ apps/system/cu LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +apps/system/hexed +================= + + Copyright (c) 2010, B.ZaaR, All rights reserved. + + Redistribution and use in sou...
chat-cli: send invites on-;invite This augments permission management with invite sending, when setting "positive" permissions. This matches talk's behavior. Also implements +full:tr, which renders as ~ship/path, even for local targets.
:: and trust it to take care of the rest. :: /- *chat-store, *chat-view, *chat-hook, - *permission-store, *group-store, + *permission-store, *group-store, *invite-store, sole-sur=sole /+ sole-lib=sole, chat-eval :: [%chat-view-action chat-view-action] [%chat-hook-action chat-hook-action] [%group-action group-action] + ...
OcBootManagementLib: Log custom entries
@@ -319,7 +319,7 @@ OcScanForBootEntries ( FreePool (DevPathScanInfos); if (Describe) { - DEBUG ((DEBUG_INFO, "Scanning got %u entries\n", (UINT32) EntryIndex)); + DEBUG ((DEBUG_INFO, "OCB: Scanning got %u entries\n", (UINT32) EntryIndex)); for (Index = 0; Index < EntryIndex; ++Index) { Status = OcDescribeBootEntry (Bo...
Enable light bindings for Niko devices
@@ -1822,6 +1822,9 @@ void DeRestPluginPrivate::checkLightBindingsForAttributeReporting(LightNode *lig else if (lightNode->manufacturer() == QLatin1String("Sercomm Corp.")) { } + else if (lightNode->manufacturer() == QLatin1String("NIKO NV")) + { + } else { return;
Regularly poll filter for changes.
++ card :: side-effect $% [%peer wire gill:gall path] [%hiss wire (unit user:eyre) mark [%hiss hiss]] + [%wait wire @da] == -- :: :+ /filter `'poll filter' [%eth-get-filter-changes filter] :: + ++ ta-wait-poll + %- ta-card + ::NOTE may adjust wrt filter timeout + [%wait /poll (add now.bol ~m4)] + :: :: ++ ta-init ta-ne...
Add test for ECDH CMS key only
@@ -349,6 +349,15 @@ my @smime_cms_param_tests = ( "-in", "test.cms", "-out", "smtst.txt" ] ], + [ "enveloped content test streaming S/MIME format, DES, ECDH, 2 recipients, key only used", + [ "-encrypt", "-in", $smcont, + "-stream", "-out", "test.cms", + catfile($smdir, "smec1.pem"), + catfile($smdir, "smec2.pem") ], ...
hth coin template
"explorerTxLink": "https://verge-blockchain.info/tx/{0}", "explorerAccountLink": "https://verge-blockchain.info/address/{0}" }, + "help-the-homeless": { + "name": "Help The Homeless", + "symbol": "HTH", + "family": "bitcoin", + "coinbaseHasher": { + "hash": "sha256d" + }, + "headerHasher": { + "hash": "x16r" + }, + "bl...
Ensure MTUs are a multiple of 4. Thanks to Irene Ruengeler for providing an earlier version of the patch.
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 333386 2018-05-08 20:39:35Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 333603 2018-05-14 13:50:17Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -827,8 +827,8 @@ sctp_stop_timers_for_shutdown(struct sctp_tc...
tap_v2: fix issues reported by coverity
@@ -84,7 +84,7 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args) tap_main_t *tm = &tap_main; vnet_sw_interface_t *sw; vnet_hw_interface_t *hw; - int i, fd = -1; + int i; int old_netns_fd = -1; struct ifreq ifr; size_t hdrsz; @@ -385,8 +385,8 @@ error: done: if (vhost_mem) clib_mem_free (vhost_mem); - if ...
mpfs_mm_init: Mark the L2 kernel page table as a global mapping Kernel mappings are global, i.e. they exist in every address environment
@@ -181,7 +181,7 @@ static void map_region(uintptr_t paddr, uintptr_t vaddr, size_t size, /* Map it to the L3 table */ - mmu_ln_setentry(2, PGT_L2_VBASE, l3pbase, vaddr, MMU_UPGT_FLAGS); + mmu_ln_setentry(2, PGT_L2_VBASE, l3pbase, vaddr, PTE_G); } /* Then add the L3 mappings */
conftools/get-version.sh: Fix unsafe expansions of $hdr Also, use $() instead of ``. See
@@ -28,8 +28,8 @@ if test ! -r "$hdr"; then exit 1 fi -MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`" -MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`" -MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`" +MAJOR_VERSION=$(sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' "$hdr") +MINO...
hoon: go full lark in +lead and +late To avoid wet-gate issues around face shadowing and such things.
++ tail |*(^ ,:+<+) :: get tail ++ test |=(^ =(+<- +<+)) :: equality :: -++ lead |*(h=* |*(* [h +<])) :: put head -++ late |*(t=* |*(* [+< t])) :: put tail +++ lead |*(* |*(* [+>+< +<])) :: put head +++ late |*(* |*(* [+< +>+<])) :: put tail :: :: # %containers ::
Avoid mutliple truncates for AOCO during vacuum. Vacuum for AOCO happens in mutliple phases. Prepare phase always truncates the file to logical EOF. So, there is no need for redundant calls in later phases.
@@ -481,17 +481,12 @@ AOCSDrop(Relation aorel, /* Re-fetch under the write lock to get latest committed eof. */ fsinfo = GetAOCSFileSegInfo(aorel, SnapshotNow, segno); - /* drop not planned, try at least eof truncation */ if (fsinfo->state == AOSEG_STATE_AWAITING_DROP) { Assert(HasLockForSegmentFileDrop(aorel)); AOCSCo...
lua: make Lua headers available to other packages
@@ -140,12 +140,17 @@ library , cbits/hslua/hslauxlib.c , cbits/hslua/hslua.c include-dirs: cbits/hslua + includes: lua.h + , luaconf.h + , lauxlib.h + install-includes: lua.h + , luaconf.h + , lauxlib.h if flag(system-lua) || flag(pkg-config) if flag(pkg-config) pkgconfig-depends: lua5.3 else extra-libraries: lua - in...
Get the LoaderLifecycleState and push path slices to it in the execution_path lifecycle
-use crate::{c_char, c_int, c_void, CStr}; +use std::path::Path; + +use crate::{c_char, c_int, c_void, CStr, LoaderLifecycleState, PathBuf}; + +extern "C" { + fn loader_impl_get(loader_impl: *mut c_void) -> *mut c_void; +} #[no_mangle] pub extern "C" fn rs_loader_impl_execution_path( - _loader_impl: *mut c_void, + load...
firfilt: checking copy method with NULL input
@@ -122,6 +122,7 @@ void autotest_firfilt_config() CONTEND_ISNULL(firfilt_crcf_create_dc_blocker(0, 0)); CONTEND_ISNULL(firfilt_crcf_create_notch(0, 0, 0)); CONTEND_ISNULL(firfilt_cccf_create_notch(0, 0, 0)); + CONTEND_ISNULL(firfilt_crcf_copy(NULL)); // create proper object and test configurations firfilt_crcf q = fir...
Improve error handling in backend OpenSSL implementation Commit introduced error handling to sslinfo to handle OpenSSL errors gracefully. This ports this errorhandling to the backend TLS implementation. Author: Daniel Gustafsson
@@ -1298,15 +1298,28 @@ X509_NAME_to_cstring(X509_NAME *name) char *dp; char *result; + if (membuf == NULL) + ereport(ERROR, + (errcode(ERRCODE_OUT_OF_MEMORY), + errmsg("failed to create BIO"))); + (void) BIO_set_close(membuf, BIO_CLOSE); for (i = 0; i < count; i++) { e = X509_NAME_get_entry(name, i); nid = OBJ_obj2nid...
data tree BUGFIX temp workaround for keyless list insertions This is a temporary fix for Issue see that comment thread in for discussion on eventually permanent solution.
@@ -3921,6 +3921,13 @@ lyd_find_sibling_schema(const struct lyd_node *siblings, const struct lysc_node /* find by hash */ if (!lyht_find(parent->children_ht, &schema, hash, (void **)&match_p)) { siblings = *match_p; + if (siblings->prev != siblings) { + const struct lyd_node *first; + for (first = parent->child; + sibl...
gso: fix the make test for ipip Type: test This commit fixes the make test for GSO/IPIP which are added in following commit id:
@@ -282,6 +282,11 @@ class TestGSO(VppTestCase): size = rxs[33][TCP].seq + rxs[33][IPv6].plen - 20 self.assertEqual(size, 65200) + self.vapi.feature_gso_enable_disable(self.pg0.sw_if_index, + enable_disable=0) + self.vapi.feature_gso_enable_disable(self.pg1.sw_if_index, + enable_disable=0) + def test_gso_vxlan(self): "...
metadata-store: migrate contact paths
++ migrate-md-resource |= md-resource ^- md-resource - ?. =(%chat app-name) - [app-name app-path] + ?: =(%chat app-name) [%chat (new-app-path app-path)] + ?: =(%contacts app-name) + [%contacts ship+app-path] + [app-name app-path] :: ++ migrate-resource-indices |= resource-indices=(jug md-resource group-path) %- ~(run i...
CSMA: simplify routine that waits for ACK
@@ -196,14 +196,10 @@ send_one_packet(void *ptr) if(is_broadcast) { ret = MAC_TX_OK; } else { - rtimer_clock_t wt; - /* Check for ack */ - wt = RTIMER_NOW(); - watchdog_periodic(); - while(RTIMER_CLOCK_LT(RTIMER_NOW(), wt + CSMA_ACK_WAIT_TIME)) { - watchdog_periodic(); - } + + /* Wait for max CSMA_ACK_WAIT_TIME */ + RT...
manifest: Allow private, protected, and public modifiers.
@@ -5305,6 +5305,29 @@ static void manifest_class(lily_parse_state *parser) parser->current_class->doc_id = define_var->doc_id; } +static void manifest_modifier(lily_parse_state *parser, int key) +{ + lily_lex_state *lex = parser->lex; + uint16_t modifiers = 0; + + if (key == KEY_PUBLIC) + modifiers |= SYM_SCOPE_PUBLIC...
lsa read seg fault
@@ -1390,7 +1390,8 @@ ReadLabelStorageArea( if ((*ppLsa)->Index[CurrentIndex].pFree[LABELS_TO_FREE_BYTES(AlignPageIndex)] != FREE_BLOCKS_MASK_ALL_SET) { // Find the label to read for(PageIndexMask = (*ppLsa)->Index[CurrentIndex].pFree[LABELS_TO_FREE_BYTES(AlignPageIndex)], Index = 0; - Index < NSINDEX_FREE_ALIGN; PageI...
Add LWIP library and CYW43 drivers.
@@ -134,6 +134,14 @@ ifeq ($(MICROPY_PY_ULAB), 1) MP_CFLAGS += -DMICROPY_PY_ULAB=1 MICROPY_ARGS += MICROPY_PY_ULAB=1 endif +ifeq ($(MICROPY_PY_LWIP), 1) +MP_CFLAGS += -DMICROPY_PY_LWIP=1 +MICROPY_ARGS += MICROPY_PY_LWIP=1 +endif +ifeq ($(MICROPY_PY_NETWORK_CYW43), 1) +MP_CFLAGS += -DMICROPY_PY_NETWORK_CYW43=1 +MICROPY_...
VERSION bump to version 2.0.82
@@ -58,7 +58,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 81) +set(LIBYANG_MICRO_VERSION 82) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) ...
reduce feas iters to 1
@@ -171,7 +171,7 @@ typedef float scs_float; #endif /* XXX explain this */ -#define FEASIBLE_ITERS (10) +#define FEASIBLE_ITERS (1) /* how many iterations between heuristic residual rescaling */ #define RESCALING_MIN_ITERS (100)
Add Coverity testing to Travis CI.
# Travis CI configuration file for PAPPL. # +env: + global: + # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created + # via the "travis encrypt" command using the project repo's public key + - secure: "uCNn4l4XJDyb2FTexzUNNIz5BP0B8qQs+tM0EqaXti8SvT/kCbaYgftDUbnQGUz+/dKyyd3AOHgM8Qhi/plq2DRV9picvoLhvaWn0nU...
Internaly declare the DSA type for no-deprecated builds
@@ -20,6 +20,9 @@ typedef struct rsa_meth_st RSA_METHOD; typedef struct ec_key_st EC_KEY; typedef struct ec_key_method_st EC_KEY_METHOD; # endif +# ifndef OPENSSL_NO_DSA +typedef struct dsa_st DSA; +# endif # endif # ifndef OPENSSL_NO_EC
added information about goal of hcxdumptool
@@ -296,6 +296,8 @@ OPTIONCODE_GPS 0xf2a1 (max 128 byte) Warning -------------- +hcxdumptool is designed to be an analysis tool. This means that everything is requested/stored by default. Unwanted information must be filtered out later on, offline! + You must use hcxdumptool only on networks you have permission to do t...
check that -w matches the ship in -K
@@ -1258,16 +1258,40 @@ _sist_dawn(u3_noun des) u3_noun eds = u3dc("slaw", c3__uw, u3k(des)); if ( u3_nul == eds ) { - // XX print nice error + c3_c* sed_c = u3r_string(des); + fprintf(stderr, "dawn: invalid private keys: %s\r\n", sed_c); + free(sed_c); + u3_lo_bail(); + } + + if ( 0 == u3_Host.ops_u.who_c ) { + fprint...
Update c.make file to include hashlib directory
@@ -26,8 +26,8 @@ else endif # Files. -HEADERS := $(wildcard $(SOURCE_DIR)/*.h) $(wildcard $(SOURCE_DIR)/datatypes/*.h) $(wildcard $(SOURCE_DIR)/optionals/*.h) -SOURCES := $(wildcard $(SOURCE_DIR)/*.c) $(wildcard $(SOURCE_DIR)/datatypes/*.c) $(wildcard $(SOURCE_DIR)/optionals/*.c) +HEADERS := $(wildcard $(SOURCE_DIR)/*...
Makefile: make parallelism configurable (edited by M.U.) use $(MAKE) and add PARALLEL_NJOBS variable
@@ -27,6 +27,8 @@ DEBUG?=0 FFTWTHREADS?=1 ISMRMRD?=0 NOEXEC_STACK?=0 +PARALLEL?=0 +PARALLEL_NJOBS?= LOG_BACKEND?=0 LOG_SIEMENS_BACKEND?=0 @@ -262,18 +264,19 @@ ifeq ($(NOEXEC_STACK),1) CPPFLAGS += -DNOEXEC_STACK endif + ifeq ($(PARALLEL),1) -MAKEFLAGS += -j +MAKEFLAGS += -j$(PARALLEL_NJOBS) endif ifeq ($(MAKESTAGE),1) ...
bricks/stm32: build standalone binary While the zip files are useful for integration with various Pybricks tools, it is helpful to also build a binary that can be used independently with other flashing tools.
@@ -443,7 +443,7 @@ SRC_QSTR += $(SRC_C) $(PYBRICKS_PYBRICKS_SRC_C) # Append any auto-generated sources that are needed by sources listed in SRC_QSTR SRC_QSTR_AUTO_DEPS += -all: $(BUILD)/firmware.zip +all: $(BUILD)/firmware.zip $(BUILD)/firmware.bin FW_CHECKSUM := $$($(CHECKSUM) $(CHECKSUM_TYPE) $(BUILD)/firmware-no-ch...
[CUDA] Implement printing of format string in printf
*/ int -_cl_printf(__attribute__((address_space(3))) char* restrict fmt, ...) +_cl_printf(__attribute__((address_space(3))) char* restrict format, ...) { - char data[0]; - return vprintf("[PRINTF UNIMPLEMENTED]\n", data); + char ch = *format; + while (ch) { + // TODO: Handle format specifiers + vprintf("%c", &ch); + ch...
tools/profile: fix suggestion about when to increase stack-storage-size When we do stack traces via stackmaps, hash collisions (-EEXIST) may indicate that the map size is too small. Not -ENOMEM.
@@ -305,17 +305,18 @@ def aksym(addr): # output stacks missing_stacks = 0 -has_enomem = False +has_collision = False counts = b.get_table("counts") stack_traces = b.get_table("stack_traces") for k, v in sorted(counts.items(), key=lambda counts: counts[1].value): # handle get_stackid errors if not args.user_stacks_only ...
distribute Linux version as zip
@@ -124,7 +124,7 @@ jobs: path: build/bin/tic80.exe # === Ubuntu SDLGPU === - ubuntu-sdlgpu: + linux-sdlgpu: runs-on: ubuntu-16.04 steps: @@ -148,11 +148,17 @@ jobs: - name: Deploy DEB uses: actions/upload-artifact@v2 with: - name: 'tic80-ubuntu-sdlgpu-deb' + name: 'tic80-linux-sdlgpu-deb' path: build/tic80.deb + - nam...
peview: export image icons
@@ -44,6 +44,8 @@ extern PPH_STRING PvFileName; extern PH_MAPPED_IMAGE PvMappedImage; extern PIMAGE_COR20_HEADER PvImageCor20Header; extern PPH_SYMBOL_PROVIDER PvSymbolProvider; +extern HICON PvImageSmallIcon; +extern HICON PvImageLargeIcon; // peprp
add configure time checks for WHOLE_ARCHIVE
@@ -5051,6 +5051,7 @@ _WHOLE_ARCHIVE_PEERS_VALUE= ### @usage: WHOLE_ARCHIVE(dirnames...) # internal macro WHOLE_ARCHIVE(PEERS...) { SET_APPEND(_WHOLE_ARCHIVE_PEERS_VALUE ${PEERS}) + REQUIRES(${PEERS}) } ### @usage: MAPKIT_ENABLE_WHOLE_ARCHIVE() # internal deprecated
Local flag needs to be set in case of single dimm region namespace
@@ -7066,6 +7066,12 @@ Build NAMESPACE structure pNamespace->Enabled = TRUE; pNamespace->Signature = NAMESPACE_SIGNATURE; pNamespace->Flags.Values.ReadOnly = FALSE; + if (RegionCount == 1) { + pNamespace->Flags.Values.Local = TRUE; + } + else { + pNamespace->Flags.Values.Local = FALSE; + } pNamespace->NamespaceType = N...
Normalize terminology - 'not set' instead of 'unknown' for org.
@@ -708,7 +708,7 @@ _papplClientHTMLInfo( "<input type=\"text\" name=\"organization\" placeholder=\"Organization Name\" value=\"%s\"><br>\n" "<input type=\"text\" name=\"organizational_unit\" placeholder=\"Organizational Unit\" value=\"%s\">", organization ? organization : "", org_unit ? org_unit : ""); else - papplCli...
mesh: Add reset link functionality to provisioning bearers Reset provisioning bearers when bt_mesh_reset() is called. Accept another provisioning attempt after link close. this is port of
@@ -189,11 +189,19 @@ static void reset_adv_link(void) k_delayed_work_cancel(&link.prot_timer); + if (atomic_test_bit(link.flags, PROVISIONER)) { /* Clear everything except the retransmit and protocol timer * delayed work objects. */ (void)memset(&link, 0, offsetof(struct pb_adv, tx.retransmit)); link.rx.id = XACT_ID_N...
require gcc-8 for building on ppc64le also turn off the disclaimer error for x86 intrinsics
@@ -78,6 +78,40 @@ if [ ! -d $AOMP_REPOS/$AOMP_OCL_REPO_NAME ] ; then exit 1 fi +GCCMIN=8 +function getgcc8orless(){ + _loc=`which gcc` + [ "$_loc" == "" ] && return + gccver=`$_loc --version | grep gcc | cut -d")" -f2 | cut -d"." -f1` + [ $gccver -gt $GCCMIN ] && _loc=`which gcc-$GCCMIN` + echo $_loc +} +function getg...
sse4.1: add NEON implementation of _mm_extract_epi64 This commit includes a fix when the selector is greater than 1.
@@ -521,10 +521,12 @@ simde_mm_extract_epi32 (simde__m128i a, const int imm8) { SIMDE__FUNCTION_ATTRIBUTES int64_t simde_mm_extract_epi64 (simde__m128i a, const int imm8) { - return a.i64[imm8]; + return a.i64[imm8&1]; } #if defined(SIMDE_SSE4_1_NATIVE) # define simde_mm_extract_epi64(a, imm8) _mm_extract_epi64(a.n, im...
Fix http1client example
@@ -44,9 +44,8 @@ static int delay_interval_ms = 0; static int cur_body_size; static h2o_http1client_head_cb on_connect(h2o_http1client_t *client, const char *errstr, h2o_iovec_t **reqbufs, size_t *reqbufcnt, - int *method_is_head, h2o_http1client_write_body_chunk backend_write_body_chunk, - h2o_http1client_write_body_...
[mod_wolfssl] wolfssl v5.0.0 adds ASN1_TIME_diff() wolfssl v5.0.0 adds functional wolfSSL_ASN1_TIME_diff()
@@ -1382,9 +1382,9 @@ mod_openssl_load_stapling_file (const char *file, log_error_st *errh, buffer *b) static unix_time64_t -mod_openssl_asn1_time_to_posix (ASN1_TIME *asn1time) +mod_openssl_asn1_time_to_posix (const ASN1_TIME *asn1time) { - #if LIBWOLFSSL_VERSION_HEX >= 0x04002000 + #if LIBWOLFSSL_VERSION_HEX >= 0x050...
pushZdpDescriptorDb(): add temporary debug prints
@@ -474,7 +474,7 @@ void DeRestPluginPrivate::pushZdpDescriptorDb(quint64 extAddress, quint8 endpoin if (rc != SQLITE_OK) { - DBG_Printf(DBG_INFO, "DB failed %s", sqlite3_errmsg(db)); + DBG_Printf(DBG_INFO, "DB failed %s\n", sqlite3_errmsg(db)); if (res) { rc = sqlite3_finalize(res); @@ -483,6 +483,13 @@ void DeRestPlu...
drivers/test_compress_decompress.c : Tidy up 1) Move global variable to local variable which used within a function : dst_buffer, compression_header 2) Add free for failure cases 3) Define READSIZE which used multiple times 4) Remove unused variable : writesize
#include <tinyara/binfmt/compression/compress_read.h> #include <tinyara/kmalloc.h> +#define READSIZE 2048 + /**************************************************************************** * Private Declarations ****************************************************************************/ -static struct s_header *compress...